Load module by name
Elxis 2008 allows you to load any single module regardless it's position on the template everywhere. This feature is extremely useful to template designers! To load a single module use the function elxLoadModule.
/**
* @ name: the module name (i.e. mod_banners)
* @ style: module style,
0=table,
1=horizontal,
-1=no wrapper,
-2=div surrounded (recommended),
-3=rounded corners
*/
function elxLoadModule( $name='', $style=0 )
Usage examples
elxLoadModule('mod_banners');
elxLoadModule('mod_stats', -1);
elxLoadModule('mod_language', -2); Notice: This feature does not exist in prior than 2008.0 Elxis versions.
Last Updated Thursday, 14 February 2008



