|
Articles -
Mambo
|
|
Page 4 of 7
Class files
Of course you can have other files than those explained here. For example, Awesom! component has Smarty templates included for easier customization of the layout. However, you cannot use $mainframe->getPath() to include the files since Mambo does not have the keys for this.
<?php
// Example how to include other helper file
// $mosConfig_absolute_path is the full path
// to Mambo installation directory
require_once($mosConfig_absolute_path.'/components/mycomp/helper1.php');
?>
|