21285 Posts in 5732 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 668 Views |
-
changing $Content through page.php

6 February 2009 at 4:26am
Hey
I think im asking a real simple question here but how do i change the contents of the $Content template variable through the Page.php file.
So i could run some rugular php on it like
$Content = $Content . ' hello';Link i said i think im getting stuck on something real simple here
Thanks
Phill -
Re: changing $Content through page.php

6 February 2009 at 9:20pm
Yeah, you can overload the Content() method...
function Content() {
$sContent = $this->Content;....do Some nast stuff to $sContent.
return $sContent;
}
good luck !
| 668 Views | ||
|
Page:
1
|
Go to Top |


