This is a discussion on Simple Template System Contrib (STS) in MS2MAX? within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; I would like to use Brian Gallagher's STS Simple Template System in MS2MAX. But I don't know if I can ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| I would like to use Brian Gallagher's STS Simple Template System in MS2MAX. But I don't know if I can with my MS2MAX, short of uninstalling this version and reinstalling OSC Basic again. I lost tons of time trying to figure out OSC unsuccessfully, so when I read MS2MAX was template driven, I uninstalled Basic OSC and switched to MS2MAX. I find that the MS2MAx template system is not as WYSISWG as I thought. I know html but not php so I don't know how to intergrate the two properly...one little semicolon missing and the whole site goes into parsing spasms. Anyway, I read herein of the STS 2.0 and would like to use that to design my catalog since I can html in FrontPage where I can see where I insert the php. Is there a way to use STS 2 in MS2MAX? Regards, Lisa |
|
#2
| ||||
| ||||
| If you use a wysiwyg editor like dreamweaver or frontpage you can just drag and drop the php elements in the wysiwyg view. It is 100% wysiwyg. Just a simple drag and drop to move the php around, and you dont need to know jack about php... STS will work, but it is redundant and less flexible than BTS...
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| I've created a (alfa release of) "STS-for-the-BTS" contribution today. I don't know anything about the STS so 'm not 100% positive if it works like it should, but it seems ok as far as I can see. Also I'm not sure if it's the right way to go, the STS appears to slow down the script quite a lot (while the BTS does not!). A better aproach might be to create a somewhat simplyfied template for the BTS, then it really makes very little difference if you need to edit a STS or BTS template (what's the difference in difficulty between "$content" and "<?php include $content; ?>" ?). On the other hand it seems now that it's possible to add the STS with a minimal change to the core code, only adding some STS configure defenitions, so by itself its no problem (maybe it would be nice/wiser to have it as an addon, i.s.o. adding it to the core). Paul |
|
#4
| ||||
| ||||
| It would be easier for the beginner maybe to use HTML template for the BTS http://www.oscommerce.com/community/contributions,3127 The HTML template for the BTS is targetted at users that have the BTS pre-installed but, for whatever reason, would rather edit an HTML template (in stead of a PHP enabled template).
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#5
| |||
| |||
| Quote:
Now it has two separate templates for both HTML (same as in 1.0) and PHP code (new for 1.1). The new "php code template" makes it a lot easyer to modify the template code, so it should be quite easy to adapt to the current osCMAX version. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTML template (and system) for the BTS | paulM | osCMax v2 Customization/Mods | 17 | 11-24-2005 12:24 PM |
| BTS 1.2a Basic Template System - questions | stevensdesign | osCMax v1.7 General Mods Discussion | 1 | 04-13-2005 12:18 PM |
| Simple Template Question | Feeedbag | osCommerce 2.2 Modification Help | 2 | 07-22-2004 06:00 AM |
| BTS 1.0b to 1.2a Template System Upgrade causes DB error | RaEMeY | osCMax v1.7 Discussion | 0 | 03-07-2004 02:36 PM |
| PLEASE explain how I can use the BTS (basic template system) | lucius | osCMax v1.7 Discussion | 1 | 10-23-2003 06:51 PM |