Jump to content


Template system

  • Please log in to reply
4 replies to this topic

#1 Infected-Shadow

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 07 June 2006 - 07:51 PM

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?

#2 xyph

  • Staff Alumni
  • Advanced Member
  • 3,712 posts
  • LocationSurrey, BC

Posted 07 June 2006 - 08:18 PM

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 ;)
Everything you need to know about storing user-names and passwords
Blank Page? Try forcing errors to display

#3 Infected-Shadow

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 07 June 2006 - 08:50 PM

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:

<title>Infected Designs :: {PAGE_TITLE}</title>



#4 Buyocat

  • Members
  • PipPipPip
  • Advanced Member
  • 267 posts

Posted 07 June 2006 - 08:51 PM

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:
You can customize the heck out of it so you can have the flexibility you want without reinventing the wheel.
Looking for some easy-to-use tools?  Try these, https://sourceforge....jects/utils-php -- I made them myself.  They're distinct tools which are easy to understand and use.  See some examples uses at http://www.anotherearlymorning.com

#5 Cardale

  • Members
  • PipPipPip
  • Advanced Member
  • 278 posts
  • LocationSalem

Posted 12 September 2007 - 02:02 AM

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?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users