ok then
pngwen <[email protected]> 31 Jul 2003 03:25:34 -0000
| Newsgroups | gmane.comp.web.oscommerce.devel |
|---|---|
| Message-ID | <6a0137b1309fc628c62ac55a2cc40a0c@osCommerce-Forums> |
This message was sent from: Development http://forums.oscommerce.com/viewtopic.php?p=204851#204851 ---------------------------------------------------------------- Well, what I was talking about was templating, but we are somewhat talking across purposes. You have to create your engine in terms of a template engine, which leads to a chicken and egg circle. Anyway, what I propose is this. I am very likely to be assigned to do this by a manager at work. If I am I will just send in what I do. I've already partially converted the site to using the smarty template engine, using an "engine" as you say that is defined by 1 template file that affects the rest of the pages. If you guys are interested in that, when I'm done I'll send it in. Basically what I have is a master template that gets certain variables. One of those variables defines the template that it loads in the main content area. That way, editing that one file, changes the whole layout of the site. I think this is what you were talking about., A rather simplistic site ( in terms of layout) that I did this with is http://www.titlesearcher.com. This site uses smarty and sees a lot of load. Anyway, just my two cents worth. What do you think? interested in my work? if so it's yours for the taking!. -Bob