blueman378 Posted October 22, 2008 Share Posted October 22, 2008 Hi guys, i was wondering whats the most ideal method for making a webbsite easily templateable, like eg wordpress there are thousands of templates available how would you go about making your site as easily templatable as that? Link to comment https://forums.phpfreaks.com/topic/129559-best-way-to-make-it-templateable/ Share on other sites More sharing options...
trq Posted October 22, 2008 Share Posted October 22, 2008 css Link to comment https://forums.phpfreaks.com/topic/129559-best-way-to-make-it-templateable/#findComment-671680 Share on other sites More sharing options...
R4nk3d Posted October 22, 2008 Share Posted October 22, 2008 Im tryin a way where i put all the php code into inc.php files in a sources folder (kinda like smf) and then on the template i have the body/header/etc. just say require/include("sources/file.inc.php"); workin pretty well so far. Link to comment https://forums.phpfreaks.com/topic/129559-best-way-to-make-it-templateable/#findComment-671736 Share on other sites More sharing options...
blueman378 Posted October 23, 2008 Author Share Posted October 23, 2008 ive decided to use smarty, its doing basically what you said but in a more ott way Link to comment https://forums.phpfreaks.com/topic/129559-best-way-to-make-it-templateable/#findComment-672675 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.