Archadian Posted October 4, 2008 Share Posted October 4, 2008 Can anyone possibly point me in the right direction as far as making HTML templates so i don't have to write code over and over again. Thanks. Link to comment https://forums.phpfreaks.com/topic/126975-template-system/ Share on other sites More sharing options...
DarkWater Posted October 4, 2008 Share Posted October 4, 2008 Just check out Smarty. It will do anything you could ask for in a templating system, and then some. Link to comment https://forums.phpfreaks.com/topic/126975-template-system/#findComment-656827 Share on other sites More sharing options...
keeB Posted October 4, 2008 Share Posted October 4, 2008 header.php: <html> <head> // some header information here </head> main.php include("header.php"); // do some body stuff here include("footer.php"); Doesn't belong here. Link to comment https://forums.phpfreaks.com/topic/126975-template-system/#findComment-656830 Share on other sites More sharing options...
JasonLewis Posted October 4, 2008 Share Posted October 4, 2008 If you want to write your own there are many tutorials out there that explore the basics. Link to comment https://forums.phpfreaks.com/topic/126975-template-system/#findComment-656831 Share on other sites More sharing options...
Archadian Posted October 4, 2008 Author Share Posted October 4, 2008 Thanks for the reply Darkwater but i would rather write my own code. If i was going to use someone else's i would just use PHPNuke Link to comment https://forums.phpfreaks.com/topic/126975-template-system/#findComment-656833 Share on other sites More sharing options...
genericnumber1 Posted October 4, 2008 Share Posted October 4, 2008 Thanks for the reply Darkwater but i would rather write my own code. If i was going to use someone else's i would just use PHPNuke PHPNuke is a full cms, big difference from smarty... not that I use smarty.. but it's a popular system. Link to comment https://forums.phpfreaks.com/topic/126975-template-system/#findComment-657275 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.