status on my smarty integration
pngwen <[email protected]> 5 Aug 2003 18:55:03 -0000
| Newsgroups | gmane.comp.web.oscommerce.devel |
|---|---|
| Message-ID | <e4aca871475d83aea440184106f41135@osCommerce-Forums> |
This message was sent from: Development http://forums.oscommerce.com/viewtopic.php?p=208080#208080 ---------------------------------------------------------------- I listened to a comment posted on this forum and explored ways to "bolt" smarty on. This is precisely what I am now doing. Actually, this way proved to be a bit easier than the way I was going about it. There is now a configuration variable called USE_SMARTY, set it to true and OSC uses smarty to render its output. This means there is quite a bit of if(USE_SMARTY)... sorts of blocks throughout the code. All in all I think this will be the best of both worlds. Anyway, I've gotten most of the index.php stuff done, once I've got all those little boxes going, the rest will be fairly simple from the looks of it. Should have something to play with soon! Oh, and I make the default templates honor all configuration options for display. Of course, the template writers can override any of them. It's very neat! -Bob