[TYPO3] ATagTitle output -> " instead of "

Christopher bedlamhotel at gmail.com
Fri Mar 10 00:58:33 CET 2006


Hi,

On 3/9/06, stem <stema at web.de> wrote:
> hi,
> i would like to append some code using atagtitle.
>
> NO {
>      ATagTitle.cObject = COA
>      ATagTitle.cObject {
>          10 = TEXT
>          10.field = title
>          20 = TEXT
>          20.value = " onClick="close()
>          }
> }
>
> however the quotes in  20.value = " onClick="close()   are transformed
> into &quot;.
> that is why the a-tag looks like that: <A>... title="page  &quot;
> onClick=&quot;close()"...
>
> i can't use ATagParams...
> is there a way to output " instead of &quot;

Erm...an onclick event is not going to work inside a title attribute.
What are you actually trying to do? It's simple enough to keep Typo3
from converting characters to html entities:

### See TSref stdWrap section for more info:
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/1/
###
temp = TEXT
temp {
  value = "This sentence is quoted"
  htmlSpecialChars = 0
}

But what you're trying to do looks bizarre...


-Christopher



More information about the TYPO3-english mailing list