[TYPO3-english] parseFunc? add wrap to th tag
Rachel Foucard
rfoucard at w-seils.com
Mon May 18 11:35:59 CEST 2009
Hi,
I think it's a recursive call problem.
try this :
tt_content.text.20.parseFunc.externalBlocks =
table,blockquote,ol,ul,tbody,tr,th,td
tt_content.text.20.parseFunc.externalBlocks.table.callRecursive = 1
tt_content.text.20.parseFunc.externalBlocks.tbody.callRecursive = 1
tt_content.text.20.parseFunc.externalBlocks.tr.callRecursive = 1
tt_content.text.20.parseFunc.externalBlocks.th{
callRecursive = 1
callRecursive.dontWrapSelf = 0
callRecursive.alternativeWrap = <th><something>|</something></th>
}
Rachel Foucard.
http://www.w-seils.com
http://www.q-seils.com
"Sacha Vorbeck" <vorbeck at TYPO3Tutor.de> a écrit dans le message de news:
mailman.1.1242631684.17652.typo3-english at lists.netfielders.de...
> Hi,
>
> currently I use this snippet to replace all th-tags with td-tags:
> tt_content.text.20.parseFunc.externalBlocks.table.callRecursive.tagStdWrap.HTMLparser.tags.td.remap
> = th
>
> But now the HTML structure has changed and I have to render the th-cells
> with an additional wrap. Example:
> <th><sometag>Table cell content entered via RTE</sometag></th>
>
> I tried different things but couldn`t get it to work. Remap can only remap
> an existing tag into another one, so I can`t use it here.
>
> Can anybody tell me what`s the right TS tool/syntax for this task?
>
> --
> thank you - all the best,
> Sacha
More information about the TYPO3-english
mailing list