[TYPO3-dev] Module templates

Steffen Kamper steffen at sk-typo3.de
Mon May 19 21:41:21 CEST 2008


"Tapio Markula" <tapio.markula at xetpoint.fi> schrieb im Newsbeitrag 
news:mailman.1.1211225863.13749.typo3-dev at lists.netfielders.de...
> 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).

it is used

$GLOBALS['TBE_STYLES']['htmlTemplates']['db_layout.html']=htmlfile

vg Steffen 






More information about the TYPO3-dev mailing list