Originally Posted by
carlwhat
excellent question!
this is one of my biggest critiques of ZC. the same named functions doing different things on the admin v catalog side. i find it onerous to maintain.
for my customized functions, i create them someplace like:
includes/extra_datafiles/custom_mods.php
and then add a line in:
admin/includes/application_top.php
to include that file.
best.
That works, but requires an update to application_top.php (a core-file). A better approach is to include an admin-level auto-loader:
/admin/includes/auto_loaders/config.load_custom_mods.php
Code:
$autoLoadConfig[200][] = array('autoType'=>'require',
'loadFile'=> DIR_FS_CATALOG . 'extra_datafiles/custom_mods.php');
Bookmarks