How do I include other package libraries and classes?
You'd want to check that the package is installed, as some admins may not install everything.
if ($gTikiSystem->isPackageActive( 'categories' )) { include_once( CATEGORIES_PKG_PATH.'categ_lib.php'); ... do something with categories... }
Comments