[TYPO3-templavoila] Rebuilding the main module of TemplaVoila

Tapio Markula tapio.markula at atwebteam.com
Tue Sep 12 11:14:12 CEST 2006


Hi

One client asked me rebuilding the TemplaVoila page module in order to 
get proper skinning.

What really makes skinning of TemplaVoila extremely difficult is code 
like this

             case 'tt_content' :

                  $elementTitlebarColor = ($elementBelongsToCurrentPage 
? $this->doc->bgColor5 : $this->doc->bgColor6);
                 $elementTitlebarStyle = 'background-color: 
'.$elementTitlebarColor;

The layout play with color and background-color variables
and creates with them style="...

That destroy totally good skinning - those should simple ignored and
tryed to build instead classes - but first I should get rid of style 
attributes.

I should know, where this kind of crap exists and where to build proper
classes instead.
Anyway I try to rebuild it in order to get proper skin for the page
module of TemplaVoila.



More information about the TYPO3-project-templavoila mailing list