[TYPO3-english] Parse character/text in page

Jochen Rau j.rau at web.de
Tue Dec 9 11:39:33 CET 2008

Hi Eric!

> After generating the page with the content, I want once again parse the 
> whole elements on the page (to check java scripts, html tags and their 
> attributes...) to correct, if any, mistakes. I've tried, e.g.
> page.stdWrap.parseFunc.short.yyy = zzz
> but it doesn't parse whole page content (including java scripts), only 
> some text. Is there any other possibilty to parse page content again 
> with the help of parseFunc? Or this type of parsing is wrong?

There are several places (eg. tt_content.text) and several ways 
(postUserFunc, parseFunc.userFunc, hook: contentPostProc-all) to 
initiate parsing (have a look at EXT:contagged and EXT:a21glossary for 
running examples).

# 1st possibility TS:
tt_content.text.20.parseFunc.userFunc = tx_contagged->main

# 2nd possibility TS:
tt_content.text.20.postUserFunc = tx_contagged->main

# 3rd possibility TS (on the whole content)
temp_content < styles.content.get
temp_content.stdWrap.postUserFunc = tx_contagged->main
styles.content.get >
styles.content.get < temp_content

# 4th possibility hooks (on the whole html-output)
# inside ext_localconf.php


More information about the TYPO3-english mailing list