[TYPO3] How do I get the page id in TMENU?

Aji Johannes aji.yahya at gmail.com
Sun Aug 27 01:45:46 CEST 2006


Mike schrieb:
> 
> I have a HMENU/TMENU thing set up.  I want each hyperlink in the menu to 
> call a javascript function and pass it's page id number.  How do I get 
> the page id number in my TMENU?    (see the question marks (????) below, 
> I want them to be the page id of that page:)
> 
> ...
> temp.redmenu.2 = TMENU
> temp.redmenu.2 {
> 
>   NO.allWrap = <li class="sub_menu_li"> | </li>
> 
>   NO.ATagParams = class = "rednavsublink" 
> onmouseover="callfunction(??????)"
> 
> }
> 
Hello Mike,
try this :

NO.before.cObject = TEXT
NO.before.cObject.field = uid


or

  temp.redmenu.2.cObject = TEXT
  temp.redmenu.2.cObject.field = uid

or this:

temp.redmenu.2.field = uid

i hope this help

Johannes



More information about the TYPO3-english mailing list