Elxis CMS - Open Source

elxis 2008
Feel the power of Open Source!


download elxis 2008.0 Olympus
size: 7.35mb | revision: 1891 | stable

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
< Previous Next >
Powered by Elxis - Open Source CMS.
Copyright (C) 2006-2008 Elxis.org. All rights reserved.
Elxis.org web site and template was created by Is Open Source (IOS)
Language:

Valid XHTML