It looks like you're new here. If you want to get involved, click one of these buttons!
$blocks_path = APPPATH.'views/_blocks/'.$dir_folder;
Can block_path be added as a param or is there another way I can specify an advanced module folder as the block folder?
Comments
public function options_list_with_views($where = array(), $dir_folder = '', $dir_filter = '^_(.*)|\.html$', $order = TRUE, $recursive = TRUE) { $CI =& get_instance(); $CI->load->helper('directory'); $module_path = APPPATH; if (is_array($dir_folder)) { $module = key($dir_folder); $dir_folder = current($dir_folder); if (is_string($module)) { $module_path = MODULES_PATH.$module; } } $dir_folder = trim($dir_folder, '/'); $blocks_path = $module_path.'views/_blocks/'.$dir_folder; ...
If so, I can post that change.