[Typo3-shop] XHTML Compliance

Nick Weisser typo3 at openstream.ch
Sat Jan 28 20:28:00 CET 2006


Hi Franz,m

> Can you provide me a CSS file so the 'tx-ttproducts-pi1-wrap1' class
> will get the correct attributes so it will work again?

If you want to have similar CSS properties to the current font 
attributes, you could use this

.tx-ttproducts-pi1-wrap1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
}
.tx-ttproducts-pi1-wrap2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000;
}

whereas the font-family property could be omitted, because this is 
usually defined on the body tag level.


> Which lines do I have to put into all template example files so this
> will work again like it does now?

I wouldn't put any CSS into the template example files themselves. 
Usually it is done in e.g. static/setup.txt (as in the 
sr_feuser_register extension):

plugin.tx-ttproducts-pi1 {
	_CSS_DEFAULT_STYLE (
		.tx-ttproducts-pi1-wrap1 {
			font-size: 12px;
			color: #000;
		}
		.tx-ttproducts-pi1-wrap2 {
			font-size: 10px;
			color: #000;
		}
)

But as mentioned before, those wraps are not really necessary with a CSS 
styled tt_products template. It might only be necessary in a 
transitional state...


> Does anybody know what the file pi1/static/editorcfg.txt is usable for?
> Or can these files be removed?

I don't know.

Cheers,
Nick



More information about the TYPO3-project-tt-products mailing list