Im using html classes and it looks like this:
$page->SetParameter ("PAGE_CONTENT", "Hello World!");
This (funnily enough :p) sets a parameter for the HTML class so that in the template file an instance of {PAGE_CONTENT} will be replaced with "Hello World!" .
<!-- Start Edit -->
I've got somewhere here:
for the include thing i can implode the file, like this:
$content = implode ('', file ('pages/example.php'));
and then call it like this:
$page->SetParameter ("PAGE_CONTENT", $content);
HOWEVER ... i still need help ... if example.php contains php (which it does) how do i parse the (imploded) $content variable ... as is, it doesn't parse and so calls like "$_SERVER['REMOTE_ADDR'];" do nothing.
<!-- End Edit: -->
Thanks in advance.
Borior