[Typo3-shop] Problems with parseFunc

Peter Klein peter at umloud.dk
Mon Aug 8 15:38:48 CEST 2005


Im trying to setup tt_products v2.23 on a TYPO3 v3.8 system with TemplaVoila 
& HTMLArea.

My problem is that ALL tags in the tt_products field "note" gets converted 
to to &xx; , which is a problem when HTMLArea is used, as it doesn't wrap 
content in P tags, but just display the P tag on the frontend..

The part of the manual regarding the "parseFunc" is pretty confusing, as its 
a mix of TSConfig & Typoscript setup.
(Example: keepNonMatchedTags is a property of HTMLParser, but why is it 
listed as a stand-alone value, and where do you place it then??, as 
HTMLParser can be used in both TSConfig and Typoscript.)

-- cut --
 The product details are parsed by these properties. So if e.g. you want ot 
allow HTML-tags to create a table in the Note field you have to set the 
parseFunc.allowTags or use the denyTags.
To make RTE working with HTML you have to set the following into the root 
page template.

Example:
keepNonMatchedTags = 1
RTE.default.proc.preserveTables = 1  Example:

parseFunc.allowTags = 
table,tr,td,b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6parseFunc.denyTags 
= * -- cut --


It tried several methods of parsing the RTE content, but it still shows the 
P tage on the frontend. :(

  #parseFunc < lib.parseFunc_RTE
  #parseFunc < lib.parseFunc
  #parseFunc < tt_content.text.20.parseFunc

  parseFunc < styles.content.parseFunc
  parseFunc.denyTags =

Any help on the subject is appreciated.. ;)


MvH Peter Klein / Umloud Untd






More information about the TYPO3-project-tt-products mailing list