Templating Question...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Elmseeker
Forum Contributor
Posts: 132
Joined: Sun Dec 22, 2002 5:48 am
Location: Worcester, MA

Templating Question...

Post by Elmseeker »

Well, thanks to a wonderful little patTemplate built in function called dumped I have finally figured out the basics of how to use this thing. I am still a bit stumpued however as to how to use my php functions within the template scheme, I mean, I have a function that includes different pages onto the site...this was my attempt at a rudimentary templating system of my own. Basically it uses a BUNCH of tables to create a static look at the top and left of the site while the white section on the bottom right changes depending on what url is requested, all pages go through the main page like: index.php?page=privpol will load the privacy policy in that white section, I would like to continue using this scheme within the template system if possible, if not well...no big deal, I still need to know how to call functions from within the template though...I don't really care HOW it get's done right this minute, I just need to get this site converted to templates before it gets too complex...any help would be muchly loved! Thanks folks!
Post Reply