[Typo3] wrap content header with table instead of h1 tag
Jacob Floyd
techgurufloyd at gmail.com
Thu Jun 16 01:32:25 CEST 2005
*Shouts for Joy*
I just figured out how to do what I want. If you look closely at the
TSRef you'll note that renderObj default value is "< tt_content"
meaning it is a reference to the tt_content element, so I can override
the values, but I have to use tt_content as a reference as to what
values to override. I came up with the following which seems to do
what I want:
temp.contentRepeat = CONTENT
temp.contentRepeat {
table = tt_content
select {
pidInList = this
orderBy = sorting
#Change colpos when referencing this object to the column you want
referenced.
where = colpos=0
languageField = sys_language_uid
}
renderObj.text.10.10.1.fontTag = <tr><td> | </td></tr>
renderObj.text.10.10.2.fontTag = <tr><td> | </td></tr>
renderObj.text.10.10.3.fontTag = <tr><td> | </td></tr>
renderObj.text.10.10.4.fontTag = <tr><td> | </td></tr>
renderObj.text.10.10.5.fontTag = <tr><td> | </td></tr>
renderObj.text.20.wrap = <tr><td> | </td></tr>
renderObj.stdWrap.wrap = <table> | </table><br />
}
That would be nice if the TSRef some how made this a little easier to
pick up on. some kind of description or other.
More information about the TYPO3-english
mailing list