Current location: Hot Scripts Forums » Programming Languages » PHP » Good template system


Good template system

Reply
  #1 (permalink)  
Old 06-27-03, 02:02 PM
[PL]Greg [PL]Greg is offline
New Member
 
Join Date: Jun 2003
Location: Szczecin
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Good template system

i need good, flexible, quite easy template system (without hundreds of new functions - i dont want to learn completely new language ).

There are many template systems but i dont know which system i should choose.

i'll use template system only for creating multiple layouts and there'll be lots of menus created via mysql_fetch_row(array) command so this template system needs to work good especially with mysql.

i also need to have possibility to control every record fetched from mysql database

couple months ago i've tried some template system (dont remember its name) and i've only could display records from mysql db.
i couldn't edit some displayed rows ie.:

$result = mysql_query ($query);
while ($row = mysql_fetch_array($result)) {

//trying to edit ie. row[2]
$row[2] = str_replace ("Download", "blablabla", $row[2]);

$template->append('prospect_list',$row);

the template system displayed all records from database but didnt edit row[2] (there was a record with fraze "Download"). i dont know, maybe i've done something wrong or maybe template system was poor

Anyway,
Maybe someone has some experience about template systems and could give me some advice because i dont want to start again with bad template system
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-27-03, 02:36 PM
jv2222 jv2222 is offline
The Freshmaker
 
Join Date: Jun 2003
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
If you want simplicity and controll then why not make your own template system?

Here is a very, very simple one that I came up with. I use it for all my web sites no matter how complex they are. It really works wonders!

http://www.jvmultimedia.com/download.php?simpletemplate

Rgds,
Justin

p.s. Let me know what you think and how useful you find it.
__________________
Author of <a href=http://www.hotscripts.com/Detailed/18290.html target=_blank>ezSQL</a> (makes life soooo easy when working with databases)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 06-27-03, 03:36 PM
[PL]Greg [PL]Greg is offline
New Member
 
Join Date: Jun 2003
Location: Szczecin
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
well, i downloaded it, spent about 15 minutes and i think that was what im looking for

btw. i dowloaded ezsql, read some examples and i think im gonna love it

big thx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 06-28-03, 05:09 AM
jv2222 jv2222 is offline
The Freshmaker
 
Join Date: Jun 2003
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Enjoy

Justin.
__________________
Author of <a href=http://www.hotscripts.com/Detailed/18290.html target=_blank>ezSQL</a> (makes life soooo easy when working with databases)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php inventory system jacobo Script Requests 3 12-09-03 12:26 PM
looking for a good cms bouldersepp Script Requests 11 11-14-03 05:33 AM
Need a download system Furton Script Requests 0 09-10-03 03:48 PM
Link system TAK PHP 3 08-17-03 12:17 PM
SoooGamed system gameover PHP 1 07-26-03 03:29 PM


All times are GMT -5. The time now is 12:12 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.