[Typo3] Use constant from GP:

Dominique Feyer dfeyer at net4all.ch
Tue Feb 15 11:20:36 CET 2005


Can i replace this code:

[globalVar = GP:L = 1] 
  temp.value = Image1
[globalVar = GP:L = 2] 
  temp.value = Image1
[globalVar = GP:L = 3] 
  temp.value = Image1
[GLOBAL]

With something like: 


temp.value = Image{$GP:L}


The first script is OK for me (but too long) and in the second one, I
have juste "Image" as value for temp.value

Thanks


-- 
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