[Typo3] wrap content header with table instead of h1 tag

Bert Hiddink hiddink at bendoo.com
Wed Jun 15 22:34:59 CEST 2005


Hi Jacob!

Did you see this thread:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110123240/?tx_maillisttofaq_pi1%5Bsword%5D=hiddink&tx_maillisttofaq_pi1%5Banswered_only%5D=0&tx_maillisttofaq_pi1%5Bmode%5D=1

In your case, I would try something like this:

#################
# wrap right content
#################
temp.contentRightRepeat = CONTENT
temp.contentRightRepeat {
table = tt_content
select {
pidInList = this
where = colpos=2
}
renderObj.20 = TEXT
renderObj.20.field = header
renderObj.20.wrap = <td class="header">|<td>
renderObj.21 = TEXT
renderObj.21.field = bodytext
renderObj.21.wrap = <td class="blabala">|<td>
renderObj.stdWrap.wrap = <table border=0 ><tr> | </tr></table>
}

....

subpart.wrapped_right_column < temp.contentRightRepeat 
...

Then do something similar for your left column.

Not tested but think this should work.

grt,
-brt

Bert Hiddink
http://www.bendoo.nl
-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110127270/
					



More information about the TYPO3-english mailing list