* * This gives template designers ultimate control over how modules are rendered. * * NOTICE: All chrome wrapping methods should be named: modChrome_{STYLE} and take the same * two arguments. */ /* * Module chrome for rendering the module in a slider */ function modChrome_slider($module, &$params, &$attribs) { jimport('joomla.html.pane'); // Initialize variables $sliders = & JPane::getInstance('sliders'); $sliders->startPanel( JText::_( $module->title ), 'module' . $module->id ); echo $module->content; $sliders->endPanel(); } /* * Module chrome that allows for rounded corners by wrapping in nested div tags */ function modChrome_jarounded($module, &$params, &$attribs) { ?>
showtitle != 0) : ?> id])) $modhide = $_COOKIE['Mod'.$module->id]; else $modhide = 'show'; ?>

title; ?>

content; ?>