[TYPO3-templavoila]  TV Pagemodule
    Steffen Kamper 
    info at sk-typo3.de
       
    Mon Dec 21 15:55:12 CET 2009
    
    
  
Hi,
since latest svn trunk version the pagemodule was purged. Inline styles 
are removed and a stylesheet file is used. All containers have proper 
CSS classes reflecting their content.
So it's very easy to customize / colorize your containers, this is the 
way how to do:
* check out trunk version
* copy file templavoila/mod1/pagemodule.css to eg 
fileadmin/css/tvpagemodule.css
* set following pageTS on root page:
mod.web_txtemplavoilaM1.stylesheet = ../fileadmin/css/tvpagemodule.css
(must be relative to typo3 dir)
Now you can add css rules, here some examples:
/* make hidden container transparent */
.tpm-hidden {
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}
/* default preview color */
.tpm-preview {
	background: #fffbd1;
}
/* fce color */
.tpm-fce .tpm-preview {
	background: #cbfbe8;
}
/* fce with TO uid 2 */
.tpm-fce_2 .tpm-preview {
	background: #aaaaaa;
}
/* menu */
.tpm-ctype-menu .tpm-preview {
	background: #e49e99;
}
/* plugins */
.tpm-ctype-list .tpm-preview {
	background: #A7F6FF;
}
/* ce html */
.tpm-ctype-html .tpm-preview {
	background: #FDC777;
}
a.s.o.
vg Steffen
    
    
More information about the TYPO3-project-templavoila
mailing list