[Typo3] Problem to get page ID in typoscript

Stéphane Dupont steph at eluna.org
Tue May 10 16:05:55 CEST 2005


Hey Everyone,

I've try to make a simple menu who look like that :

# Menu Level 1
temp.menu.1 = TMENU
temp.menu.1 {

 NO {
   allWrap = <tr>|</td></tr>
   linkWrap = <td width="102" height="78"><div 
class="menu1">|</div></td><td width="134" height="">
   afterImgLink = 1
   RO = 1
   afterImg = fileadmin/template/main/images/menu.jpg
   afterROImg = fileadmin/template/main/images/menu_ro.jpg
 }
}

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 ?

(Sorry for language mistakes, i dont't speak english very well...)

Regards,
Steph



More information about the TYPO3-english mailing list