public static function setRenderOutput($obj)
{
// We will render the layout based on the
// layout
$name = strpos($obj->id, '.') === false ? $obj->id : substr($obj->id, strrpos($obj->id, '.') + 1);
$render = 'common.front_blocks.' . $obj->id . '.' . $name . '_block_output';
/*Delete for optimize if(file_exists(Yii::getPathOfAlias('common.front_layouts.'.$obj->page->layout.'.blocks').'/'.$obj->id.'_block_output.php')){
$render='common.front_layouts.'.$obj->page->layout.'.blocks.'.$obj->id.'_block_output';
}
Delete for optimize */
return $render;
}