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 displays. In other words, when a different language is to be displayed, the entire web content will not have to change, only the text.
|
Go4Expert Founder
|
![]() |
| 19Jan2006,22:11 | #2 |
|
You have posted in the codes and project section of the site and I have moved it to the Queries and Expert comment section.
You can do that with tables and also you can use the CSS to achieve the same. |
|
Team Leader
|
![]() |
| 20Jan2006,00:12 | #3 |
|
Hi,
First of all phpbb doesn't use tbl files, it uses tpl files, which are template files. Templates separte presentation & business logic, so that modifying one doesn't affect the other. You can achive the likes of phpbb by using a template engine, one of the popular template engine is Smarty http://smarty.php.net Hope this helps you. |
|
Go4Expert Member
|
|
| 20Jan2006,14:07 | #4 |
|
Quote:
Originally Posted by pradeep |


