I just created my own template with the following content:
Code: Select all
<files>
<folder>css</folder>
<folder>images</folder>
<folder>js</folder>
<folder>html</folder>
<filename>index.html</filename>
<filename>index.php</filename>
<filename>template_thumbnail.png</filename>
<filename>navicon.ico</filename>
<filename>templateDetails.xml</filename>
</files>
and I put this code
Code: Select all
<?php
function modChrome_ccmi( $module, &$params, &$attribs ) {
if (isset( $attribs['headerLevel'] ))
{
$headerLevel = $attribs['headerLevel'];
} else {
$headerLevel = 3;
}
if (isset( $attribs['background'] ))
{
$background = $attribs['background'];
} else {
$background = 'blue';
}
echo '<div class="' .$params->get( 'moduleclass_sfx' ) .'" >';
if ($module->showtitle)
{
echo '<h' .$headerLevel .'>' .$module->title .'</h' .$headerLevel .'>';
}
echo '<div class="' .$background .'">';
echo $module->content;
echo '</div>';
echo '</div>';
}
?>
However, for some reason my module style does not change. Can anyone tell me why?
Regards