Ryuujin Posted March 28, 2008 Share Posted March 28, 2008 Greetings, I have been doing a lot of research and not finding a single thing. I have seen the source code of phpBB3, AEF, etc. And their template system is unique. I am unsure, do they use a program to do that, or do they code it themselves? Me and a small team of people are coding a Social Networking Script that we would like to distribute in the future. But we want an easy to edit template system, similar to phpBB3's template system. My question is, does anyone know how to do this? Can you find tutorials on how to do it? Thank you so much, I want to get this done so we can continue the production. Thanks again, -Waizujin Link to comment https://forums.phpfreaks.com/topic/98356-templating/ Share on other sites More sharing options...
rhodesa Posted March 28, 2008 Share Posted March 28, 2008 Check out http://www.smarty.net/ Link to comment https://forums.phpfreaks.com/topic/98356-templating/#findComment-503369 Share on other sites More sharing options...
redarrow Posted March 28, 2008 Share Posted March 28, 2008 There so meny ways designing your own is better i say... childish example......... index.php <?php include("info.php"); echo" <table align='center'> <tr> <td> <h1>$header</h1> </td> <tr> </table> <p></p> <table align='center'> <tr> <td> <h1>$body</h1> </td> <td> <h1>$words</h1> </td> </tr> </table>"; ?> info.php <?php $header="I LOVE PHP"; $body="<img src='http://www.google.co.uk/intl/en_uk/images/logo.gif'>"; $words="I LOVE GOOGLE LOGO"; ?> Link to comment https://forums.phpfreaks.com/topic/98356-templating/#findComment-503387 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.