[TYPO3] Problems with pasing htmlArea RTE saved content
Peter Klein
peter at umloud.dk
Tue Mar 13 16:37:25 CET 2007
Hi Gos'n.. You need to parse the content through the "parseFunc" function.
Something like:
renderObj.parseFunc = < lib.parseFunc_RTE
See TSRef for more info..
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/5/1/
--
Peter Klein/Umloud Untd
"Gos'n Prirodni" <gosn.prirodni at gmail.com> skrev i en meddelelse
news:mailman.69574.1173729670.21067.typo3-english at lists.netfielders.de...
Hi, I have the following problem:
I have content element of Text type with some html content stored in one
sysfolder. When edited it's source is like that:
<p> <a href="http://localhost:8080/ofk/?id=3" title="Opens internal link in
current window" class="internal-link">SCREENSAVERS</a> <br /> <a href="
http://localhost:8080/ofk/?id=3" title="Opens internal link in current
window" class="internal-link">WALLPAPERS</a> <br /> <a href="
http://localhost:8080/ofk/?id=3">IGRICE</a<http://localhost:8080/ofk/typo3/#">IGRICE</a>>
<br /> <a
href="http://localhost:8080/ofk/?id=3">PESME</a></p<http://localhost:8080/ofk/typo3/#">PESME</a></p>
>
I am geting that content in a following way:
temp.FanZoneTekst = CONTENT
temp.FanZoneTekst {
table = tt_content
select {
uidInList = 16
pidInList = 20
}
renderObj=TEXT
renderObj.field=bodytext
}
But when viewing rendered source i can see:
<link 3 - internal-link "Opens internal link in current
window">SCREENSAVERS</link> <br /> <link 3 - internal-link "Opens internal
link in current window">WALLPAPERS</link> <br /> <link 3>IGRICE</link> <br
/> <link 3>PESME</link>
There is no A tags in rendered content.
It seens that when saved - the <a> tags are converted in <link> tags. How to
parse it back in proper way?
Thanks in advance,
Miodrag
More information about the TYPO3-english
mailing list