View Single Post
Old 10-11-2005, 01:29 PM   #2 (permalink)
jaswinder_rana
The Acquainted
 
Join Date: May 2005
Posts: 106
Thanks: 0
jaswinder_rana is on a distinguished road
Default

a great system would it be indeed, if it comes in reality. following ar esome suggestions, and i am writing them as a process
1) User logs in and edit a template.
2) Template has some special things, and they can enter their own, like {TITLE}, {BODY}, {LOGO}, and so on
3) then through 2 text boxes they enter key value pair, which is stored in database
4) key value pair in our example would be "{TITLE} (key)" and "Here is the title" (value)[/b]
5) User save the template.
6) for their site part, these key value pairs are retrived from database, and then anything matching key in the template is replaced by value, using Smarty.
7) If user is missing something, its their fault, as they are responsible for changing the template and entering all key value pairs.


So, that is what came in my mind right away. their can be more solutions, and if i could thin kof anything better, i'l post again.

hope this helps
__________________
---------------------------
Errors = Improved Programming.
Portfolio
Send a message via MSN to jaswinder_rana
jaswinder_rana is offline  
Reply With Quote