[TYPO3] Function to get the page id in cwt_community

Christoph Koehler christoph.koehler at gmail.com
Sun May 28 16:55:20 CEST 2006


On Sun, 28 May 2006 09:18:31 -0500, Neilson Ramalho  
<neilsoncarlos at hotmail.com> wrote:

> Hi folks, I've tried to do some modifications in cwt_community but  
> inside the php code of the class I would like to get the id of the  
> current page. Could anyone give me a tip? is there any function to do it?
> Thanks ! :)
>
> _________________________________________________________________
> MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
>


Neilson,

there is a function for getting the current page id. You can get it  
through the globals array:

$GLOBALS['TSFE']->id

I am also working on cwt_community. Take a look at  
http://svn.webempoweredchurch.org:3000/cwt_community.

Christoph



More information about the TYPO3-english mailing list