[TYPO3-dev] Module templates

Tapio Markula tapio.markula at xetpoint.fi
Mon May 19 21:37:35 CEST 2008


Hi

Instead of fixed module templates like
$this->doc->setModuleTemplate('templates/db_layout.html');

the could be possibility to set that using TBE_STYLES

if($GLOBALS['TBE_STYLES']...=....)
$template=$GLOBALS['TBE_STYLES']...;
else {
$template ='templates/db_layout.html'; }

$this->doc->setModuleTemplate($template);

That would help possible skin problems (I have them with db_layout.html).




More information about the TYPO3-dev mailing list