Control Panel
Login to Begin to Talk!





Click Here to Register!
Advertisements


  #1  
Old 01-18-2006, 10:37 AM
Complete Complete is offline
Just Registered
 
Join Date: Jan 2006
Posts: 1
Default php and tbl

I want to be able to split the appearance and the content in a web site.

I know that php offers a way to do this. For example the phpbb.com does this with tables (.tbl files). Does anyone know how this is done and/or have sample code? I think this is the best way to handle the different language for example.

In other words, when a different language is to be displayed, the entire web content will not have to change, only the text. (And by language I mean French, German, Japanese and Korean ... not, Fortran, Pascal, Basic, Ada and C++).
Reply With Quote
  #2  
Old 02-16-2006, 12:58 AM
sarahk's Avatar
sarahk sarahk is offline
Inferior
 
Join Date: Aug 2005
Location: Auckland, New Zealand
Posts: 85
Default

People frequently use templates (.tpl) with a system like smarty which can be as complicated as it is simple.

Joomla/Mambo have a 2 file system, one gets the data, manages all that stuff. The other takes the data and creates output. In many cases they don't get the balance quite right but it's still good.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -7. The time now is 03:03 AM.


Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Site Sift Media, Inc.