[Typo3] Problem to get page ID in typoscript

Stéphane Dupont steph at eluna.org
Wed May 11 12:43:00 CEST 2005


The matter is that if even I write this :

afterImg = TEXT
afterImg.value = fileadmin/template/main/images/menu.jpg

it doesn't work...

I'm not sure to understand but I think it's because "afterImg" is an 
imgResource data type... so i can't write "afterImg = TEXT"

Any idea ?

Thanks,
Steph



Sebastian Roth a écrit :
> hi,
> 
> On 5/10/05, Stéphane Dupont <steph at eluna.org> wrote:
> 
>>The thing I would like to do now is to replace "menu.jpg" and
>>"menu_ro.jpg" by "menuX.jpg" and "menuX_ro.jpg" where X would be the id
>>of the page that is targetted by the menu item...
>>Is it possible ?
> 
> 
> You may want to check out:
> http://typo3.org/documentation/document-library/doc_core_tsref/TEXT/
> http://typo3.org/1422+M5a31d825150.0.html
> 
> HTH,
> 
> seb.




More information about the TYPO3-english mailing list