[TYPO3-english] Page title with GPvar

Christopher Torgalson bedlamhotel at gmail.com
Thu Jul 15 19:01:33 CEST 2010


Hello,

On Thu, Jul 15, 2010 at 9:48 AM, Victor Livakovsky <v-tyok at mail.ru> wrote:
> Hi.
>
>> headerData.5 = TEXT
>>  headerData.5.data.field = {GPvar:tx_myextension_pi1[keyword]}
>>  headerData.5.dataWrap = <title> | </title>
>
> You should write it this way:
> headerData.5 = TEXT
> headerData.5.data = GP : tx_myextension_pi1 | keyword
> headerData.5.wrap = <title> | </title>
> Didn't tried this code, though. But should work from a syntax view.


While you're at it, you could do this shorter version too:

headerData.5 = TEXT
headerData.5.dataWrap = <title>{GP : tx_myextension_pi1 | keyword}</title>

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list