23487 Posts in 18996 Topics by 2878 members
|Go to End|
16 July 2010 at 10:09pm
how can print id page in my Page_Controller?
I create a funcion that retun $this->ID in my template but i see nothing..help please..
17 July 2010 at 9:45am
I'm not sure exactly what you are trying to do, but...
To print the current page ID in the template do this:
to access it in the controller or model of the page do:
or in a model or controller that isnt the page:
|Go to Top|