Page 1 of 1

Making a template for a cms help.

Posted: January 2nd, 2008, 2:16 am
by TheT
I am (trying) to make a basic cms, as part of the cms i want to have a theme system. To do this i have included a html page into my index.php file which will be the template. I have a variable named $content which will have dinamic content depending on what the page ID is. My problem is that i want to be able to put $content where i want my content to be on the html template page so that when it is included in my index it will display the content but when i do this it just desplays $content rather than the content that it represents. I have seen other cms's that do this by including {content} on the html page rather than $content, if this is easyer then i am happy to do that. Also is see this -> alot in the other cms's code, what does it mean? Any help would be great.
Thanks.