[TYPO3] bodyTag depends on columns
Pierre Rouwens
prouwens at tc2l.ca
Mon Mar 6 20:22:07 CET 2006
Hi there,
Please i'm in trouble with a bodyTag that i have to change depending on
numbers of columns i had on my html. In this case i have this to define
if the column exists or not :
------------------------------------------------------------------------
...
std.10 {
subparts.colonne_droite = COA
subparts.colonne_droite.stdWrap.required = 1
subparts.colonne_droite.stdWrap.innerWrap = <div id="droite">|</div>
subparts.colonne_droite.10 < styles.content.getRight
subparts.colonne_droite.10.stdWrap.required=1
subparts.colonne_droite.10.stdWrap.innerWrap = <div
id="liste_liens">|</div>
subparts.colonne_droite.20 < styles.content.getBorder
subparts.colonne_droite.20.stdWrap.required = 1
subparts.colonne_droite.20.stdWrap.innerWrap = <div
id="services_ligne">|</div>
subparts.colonne_droite.30 < get.voirAussi
subparts.colonne_droite.30.stdWrap.required = 1
subparts.colonne_droite.30.stdWrap.innerWrap = <div
id="voir_aussi"><h1>Voir aussi</h1>|</div>
}
....
-------------------------------------------------------------------------
And for the bodyTag, i decided to use this cause i don t see another way :
std.bodyTagCObject = TEXT
std.bodyTagCObject.value = <body id="col3">
std.bodyTagCObject.override = <body id="col2">
std.bodyTagCObject.override.if.isFalse = std.10.subparts.colonne_droite
but the isFalse seems not working as i wanna...
Any hint please .... i've googled a lot without any luck.
Thanks in advance for any help
Pierre
More information about the TYPO3-english
mailing list