[TYPO3-english] how to change behavior of tt_content for just a part of a page?
Geronimo Ma. Hernandez
geronimo013 at gmx.com
Tue Dec 21 09:06:30 CET 2010
Hello,
with my current design the class csc-default plays an important role. So I
need it on std-content parts, but I don't want it in the parts of the right
column.
I found out, that I can prevent the wrapping with csc-default divs by using
tt_content.stdWrap.innerWrap.cObject.default.15 >
That works in case I want to disable the wrapping on the whole page.
But I don't know, how to do it on just a small part.
I tried this TS:
------ snip ---------
page.10.subparts.ADDONS.10 = COA
tt_content.stdWrap.innerWrap.cObject.default.15 >
page.10.subparts.ADDONS.10 {
10 = CONTENT
10 {
table = tt_content
select.orderBy = sorting
# take content of right column from about page
select.where = colPos = 2
select.languageField = sys_language_uid
select.pidInList = 62
wrap = <div id="about">|</div><!-- end of about div -->
}
20 = COA
...
------ snap ---------
Even as this TS code will be included after the TS-part for the main content,
the main-content will be rendered without that part .15 too.
I tried to move the tt_content.stdWrap into the body of .10 but I did not get
it.
So how can I change tt_content just for that ADDONS.10 section?
regards
Geronimo
More information about the TYPO3-english
mailing list