This is a discussion on HTML template (and system) for the BTS within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Layout you osCMax store by editting one HTML file now! As of osCMax v2.0 RC1 (gratulations Michael, I am impressed!), ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Layout you osCMax store by editting one HTML file now! As of osCMax v2.0 RC1 (gratulations Michael, I am impressed!), osCMAX includes the new BTSv1.5. And that enables osCMAX users to use the HTML template for the BTS very easyly. It's a special BTS template which separates the PHP and HTML from the mainpage template file. So actually it is an (STS alike) template system. It is still very basic, but it should allow you to alter the looks of your store for about 95% by only editting main_page.html (and the stylesheet of course). Another "funny" feature is that the separated PHP also has been moved to a template file, so if changes to the main_page PHP code are needed you simply edit main_page.code.php . Note that the included main_page.tpl.php file has been transformed to a template controller. So do not edit it, unless you know what you are doing. Installation only rquires you to copy the contents of the zip to your templates dir, no files are overwritten or editted, so it only should take a minute. (choose "HTML" as the default template in your admin to activate it) My time and energy are limited, but I will try to give some support here if needed. hth, Paul |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Paul, Yes, this should help even the most html challenged of the community get a good head start on things. As always, I think your contributions to the community are top notch and highly recommend them to anyone. The power and flexibility of your improvements to BTS are huge! That is why we use BTS in osCMax.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Thanks for the compliments Michael, I am glad that you like it so much A nice thing I recently found out (allways have thought it, but wasn't 100% sure until I heard it from hpdl himself recently), is that MS3 will have the same template structure as the BTS has. This will make the switch (I don't say upgrade, because I doubt if anyone really will be able to really upgrade) to MS3 a lot easyer for BTS users and thus for osCMax users too. And this also might make it relatively easy to add the same features to ms3 as the BTS currently has, like this HTML template, and template switching. |
|
#4
| |||
| |||
| Im tring to figure this out. Is there any guides to this? I would like to use an HTML template on my shop. Thank You |
|
#5
| |||
| |||
| Quote:
Just copy the HTML template dir (and included files) to the templates directory of your shop (and set it as default template in "admin::Configuration::My Store: |
|
#6
| |||
| |||
| WOW! I love this contribution. This makes the BTS exactly what I wanted. Even the cSS is superclean, but the template references a stylesheet.htm that does not exist and there are many tags used in the html that are not present in the stylesheet.css |
|
#7
| |||
| |||
| Quote:
Quote:
There are reasons for it though: 1) there is one static and one dynamic stylesheet linked in the template. Both are used for the same stylesheet, but for different ways using it: the static link is used when you are looking at the html file itself (so for testing and such), and the dynamic link enables the script to load the stylesheet from the right template directory. It's a hack, but I could not think of a nicer way to make it possible to view the static template including it's styles and at the same time use the dynamic stylesheet linking. If it bothers you you can safely remove the static link of course. 2) the included html template and it's classes are only an example to explain how tags and classes should/can be inluded. The idea is (tmho) that you create (or buy or whatever) a template you like, and add the tags you need, and then replace the included html template by your own new template. hth, Paul |
|
#8
| |||
| |||
| Quote:
|
|
#9
| |||
| |||
| For a new template, I understand that if you want to change the outer layout then you edit the main_page.html, but what if you want to change some html for a specific page eg create_account? Do you add a content dir to your new template dir and only add your modified file create_account.tpl.php to the content dir? |
|
#10
| |||
| |||
| what is the tag for affiliate? thanks! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTML_PARAMS when upgrading RC1 to RC2 with HTML Template | miahac | osCMax v2 Installation issues | 1 | 09-27-2005 08:50 AM |
| Simple Template System Contrib (STS) in MS2MAX? | glk | osCMax v1.7 General Mods Discussion | 4 | 05-03-2005 07:23 AM |
| BTS 1.2a Basic Template System - questions | stevensdesign | osCMax v1.7 General Mods Discussion | 1 | 04-13-2005 01:18 PM |
| 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 07:51 PM |