Simple Template System (STS)
DiamondSea <[email protected]> 9 Sep 2003 20:47:53 -0000
| Newsgroups | gmane.comp.web.oscommerce.devel |
|---|---|
| Message-ID | <397a3708195f00ae0ff342db4e0a2db0@osCommerce-Forums> |
This message was sent from: Development http://forums.oscommerce.com/viewtopic.php?p=226962#226962 ---------------------------------------------------------------- Oops. I thought I was replying to a post on a different thread - sorry! Since I mentioned what I'd like to see a couple posts back, I went ahead and wrote the contribution to do it over the weekend. It only requires modification of seven (7) include files (application_top, application_bottom, header, footer, column_left and column_right), and requires no changes to any other program code, making it easy to add any other contributions without the business logic all changed. It's written to work with osc2.2ms2. The layout of the whole site is controlled by a single HTML file, just using tags like $categorybox and $searchbox to control the page layout, like this: http://www.diamondsea.com/osc/sts/template.html You can find my Simple Template System (STS) contribution here: http://www.oscommerce.com/community/contributions,1506 and the support/discussion thread here: http://forums.oscommerce.com/viewtopic.php?t=57749 Cheers!