/app/{all client code build on the cms}
/lib/system/{fuel core}
/lib/orm/{orm code}
/lib/cms/{my cms code build on fuel + other packages}
/public/{assets and index.php}
Harro Verton wrote on Tuesday 11th of September 2012:Official answer: No, you can't have modules in a package. Unofficial answer: FuelPHP supports multiple module folders, so nobody's stopping you from adding a modules folder to your package, and in the package bootstrap add the folder to the config module paths.
<?php return array(
'module_paths' => array(
PKGPATH.'CMS'.DS.'modules'.DS, // path to cms modules
),
'always_load' => array(
'modules' => array(
'news',
),
),
);
app/config/config.phpfile? Thanks
$paths = \Config::get( 'module_paths', array() );
$paths[] = __DIR__.DS.'classes'.DS.'modules'.DS;
\Config::set('module_paths', $paths);
It looks like you're new here. If you want to get involved, click one of these buttons!