Infected-Shadow Posted June 7, 2006 Share Posted June 7, 2006 Hello, I've beent rying to make a template system similar to phpbb but less complicated. Could someone please help me or post a simple code for it? Quote Link to comment https://forums.phpfreaks.com/topic/11439-template-system/ Share on other sites More sharing options...
xyph Posted June 7, 2006 Share Posted June 7, 2006 There are several tutorials on setting up a content management system all over the web, including this site.Just remember, it's best to learn how to swim before going deeper than you can reach ;) Quote Link to comment https://forums.phpfreaks.com/topic/11439-template-system/#findComment-42931 Share on other sites More sharing options...
Infected-Shadow Posted June 7, 2006 Author Share Posted June 7, 2006 I already know how to swim...jsut not int he object oriented end.Most of the tutorials are not what I'm loking for. And content management tutorials I've found ahve most of the html hard coded into the script. and I read the one here.What I'm looking for is a simple script that will parse an html script like this:[code]<html><head><title>Infected Designs :: {PAGE_TITLE}</title></head><body><h1>{CONTENT}</h1></body></html>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/11439-template-system/#findComment-42943 Share on other sites More sharing options...
Buyocat Posted June 7, 2006 Share Posted June 7, 2006 Spare yourself the immense effort and just use Smarty. It really couldn't be any easier (I don't know what PHPBB uses it might use Smarty). Anyway check it out at:smarty.php.netYou can customize the heck out of it so you can have the flexibility you want without reinventing the wheel. Quote Link to comment https://forums.phpfreaks.com/topic/11439-template-system/#findComment-42946 Share on other sites More sharing options...
Cardale Posted September 12, 2007 Share Posted September 12, 2007 Thats like saying hey dude don't learn what you want to learn sombody else already knows it and they can do it for you. I personally would like to know how to do it myself. If smarty is good or not it wouldn't change the fact.Can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/11439-template-system/#findComment-346543 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.