[TYPO3-english] 2 Problemas with TS mailform snippet: GPvar and input-field

Mark Kuiphuis spam at markyourweb.com
Sat Dec 6 05:19:37 CET 2008

I'm not sure....but...

{GPvar:tx_tt_news|tt_news} according to this snippet you tried to get 
the value from a constants. However it is missing the $ sign.

But even then it looks quite strange and it's probably not going to work 
since the value is being retrieved inside another { } code block.

If you want to get the value it should be outside the block

response.form {


but also outside the block

stdWrap.innerWrap.cObject {


I'm not a Typoscript Guru so I might be dead wrong, but at least it 
might help you a little further?

Kind regards,


Bert Hiddink wrote:
> Hello!
> Please have a look at the following snippet:

> response.form {
>   stdWrap.innerWrap.cObject = COA
>   stdWrap.innerWrap.cObject {
>     10 = TEXT
>     # Here the value is printed correctly INSIDE the mailform!
>     10.value = <h2>The GPvar value is "{GPvar:tx_ttnews|tt_news}"</h2>
>     10.insertData=1
>   }

> tt_content.mailform.20  < response.form
> Any ideas why the GPvar-value is not printed in the where-clause and why 
> the 999-object is printed after the FORM?
> Many thanks in advance!
> Regards,
> Bert

More information about the TYPO3-english mailing list