[Typo3] TMenuItem page id. Possible to get?

Peter Klein peter at umloud.dk
Wed Oct 26 15:02:18 CEST 2005


"Dmitrii Dimandt" <dmitriid at gmail.com> skrev i en meddelelse 
news:mailman.7232.1130315600.10463.typo3-english at lists.netfielders.de...
I need to append certain things after each TMenuItem in a menu. Wat I
append depends on the particular item's page ID.

So, what I need is a sort of

- if the page id of the menu item being rendered equals to 10, append image 
1
- if the page id of the menu item being rendered equals to 11, append image 
2


Hi Dimitrii, you could use the "if" property, but since you can only use one 
"if" for each object, you'll need alot of COA objects.
But why doesn't you just attach the images as fileresources on the page 
records?
Then you can select the pages and corresponding images in your menu.

-- 
Peter Klein/Umloud Untd 





More information about the TYPO3-english mailing list