[TYPO3-dev] Getting id of the page

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Mon Aug 28 01:34:03 CEST 2006


Tapio Markula wrote:
> Hi
> 
> I would need for function 'docStyle()' for class.ux_template.php
> 
> the id of the page, which has been opened.
> I tried to get it from $_GET parameter
> 

Hi Tapio,

I have made the experience, that the ID is not set in all BE module
links like one would expect. I use a workaround that fetches the ID in
some strange situations from returnUrls. Please look into this class, it
may be of help:

http://typo3.org/extensions/repository/view/elba/0.5.0/info/class.tx_elba_be.php/


Regards

Elmar




More information about the TYPO3-dev mailing list