[TYPO3] htmlSpecialChars in dataWrap
Tyler Kraft
headhunterxiii at yahoo.ca
Fri Sep 8 15:51:42 CEST 2006
Well I suggest next time you read TSref regarding menu's ;-)
Note that allWrap has stdWrap properties so it is possible that
NO.allWrap.htmlSpecialChars=1 might work but then I suspect it would
special char all of the link text, the link item, and the wrap also I
believe.
But from reading TSref you would have found that tmenuitems have stdWrap
as a property, but for the link text which happens to be what you want.
So NO.stdWrap.htmlSpecialChars=1 will work for what you want I believe.
hth
Jochen Stange wrote:
> Hi all.
>
> I've created my own Jumpmenu based on the submenufield of special pages.
>
> temp.quickLinks.1 {
> stdWrap.htmlSpecialChars = 1
> expAll = 1
> NO {
> allWrap.dataWrap = <option
> value="{field:uid}.html">{field:subtitle}</option>
> doNotShowLink = 1
> }
> }
>
> Since one subtitle contains a '&' I want to pass it through the
> htmlSpecialChars TS-function. However neither of these work:
> NO.htmlSpecialChars = 1
> NO.allWrap.dataWrap.htmlSpecialChars = 1
>
> Any ideas where to put it?
>
> Thanks. Cheers. Jochen
>
>
More information about the TYPO3-english
mailing list