[TYPO3-english] Get current page ID in menu.

Radoslav Kolarov radoslav.kolarov at osceola.de
Thu Oct 29 10:40:48 CET 2009


Yes, with special.value.data = TSFE:id works very well.
Thank Rudy!

Rudy Gnodde (WIND Internet) wrote:
> Hello Radoslav,
>
> Radoslav Kolarov wrote:
>> Hi, I need to get current page in menu to make it dynamic. Here is 
>> the code:
>>
>> ...
>> special = directory
>> special.value = [current_page_id]
>> entryLevel = 0
>> .....
>>
>> So I'll show the subpages of current page in this menu.
>> Please tell me how to get this pageid.
>> Thanks
>
> special.value has stdWrap, so you can set special.value.data = 
> TSFE:id. I haven't tried it, but something like that should work.
>
> Regards,
>
> Rudy
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list