[Typo3] TMenuItem page id. Possible to get?

Dmitrii Dimandt dmitriid at gmail.com
Wed Oct 26 15:22:54 CEST 2005


On 10/26/05, Peter Klein <peter at umloud.dk> wrote:
> "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.
>
> --


Could you run that by me again? :)

The thing is that the menu is displayed on everypage and it is a
"menu.special = list" type menu



More information about the TYPO3-english mailing list