elxis sites
strong security
Elxis Defender, FloodBlocker, Logins Recorder, extended access control and administration login page cloak, are only but a few of the standard security features that Elxis CMS provides you with.
download elxis
elxis 2009.3 aphrodite - 10.43mb
Home arrow Guides arrow Developers guides arrow Load module by name
english greek

Load module by name

Thursday, 14 February 2008

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.

< Previous Next >