[Typo3] Use constant from GP:

Dominique Feyer dfeyer at net4all.ch
Tue Feb 15 12:27:31 CET 2005


Hi Bernhard,

This code is OK:

before.cObject = TEXT
before.cObject.insertData = 1
before.cObject.field = uid
before.cObject.dataWrap = <white>&#124;</white>&nbsp;<a
href="index.php?id= | &L={GPvar:L}&key=0">

Thanks for your help !!! Typo3 as a great support ;-)

Have a nice day


Le mardi 15 février 2005 à 12:07 +0100, Kraft Bernhard a écrit :
> Dominique Feyer wrote:
> > before.cObject = TEXT
> > before.cObject.insertData = 1
> > before.cObject.field = uid
> > before.cObject.dataWrap = <white>&#124;</white>&nbsp;<a
> > href="index.php?id= | &L={$GPvar:L}&key=0">
> 
> Don't know if it works with dataWrap (dataWrap must be feed through 
> stdWrap to let this work).
> 
> But you should try:
>  > before.cObject.dataWrap = <white>&#124;</white>&nbsp;<a 
> href="index.php?id= | &L={GPvar:L}&key=0">
> 
> so {GPvar:L} instead of {$GPvar:L}
> (leave the "$" away)
> 
> 
> greets,
> Bernhard
-- 
Net4all
Dominique Feyer
Développeur PHP-MySQL
Ch. de la Colline 5bis
1007 Lausanne
dfeyer at net4all.ch
T. +41 21 625 69 91




More information about the TYPO3-english mailing list