setDefaultModuleStyle( $style )

Setting $style in the modules() function is optional and defaults to "raw". You can override the default with this function.

  • string $style: They new default module style to be used in the modules() function.

Example:

<?php
modules('test1');
setDefaultModuleStyle('xhtml');
modules('test2');
?>

In the above example, the "test1" module position loads with the "raw" module chrome style, and the "test2" module position loads with the "xhtml" module style.

Last modified on Wednesday, 31 March 2010 22:52

Add comment