Page 1 of 2 12 LastLast
Results 1 to 10 of 18

HTML template (and system) for the BTS

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!), ...

      
  1. #1
    Member
    Join Date
    Jan 2004
    Location
    Netherlands
    Posts
    71
    Rep Power
    0


    Default HTML template (and system) for the BTS

    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default RE: HTML template (and system) for the BTS

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Member
    Join Date
    Jan 2004
    Location
    Netherlands
    Posts
    71
    Rep Power
    0


    Default RE: HTML template (and system) for the BTS

    Thanks for the compliments Michael, I am glad that you like it so much But of course it's a small contribution compared to the osCMax project itself, and most credits should still go to Brenden, he created the first BTS version (which must have been an awfull lot of work).

    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. #4
    New Member
    Join Date
    Jun 2005
    Posts
    6
    Rep Power
    0


    Default RE: HTML template (and system) for the BTS

    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. #5
    Member
    Join Date
    Jan 2004
    Location
    Netherlands
    Posts
    71
    Rep Power
    0


    Default Re: RE: HTML template (and system) for the BTS

    Quote Originally Posted by kolamon.com
    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
    No other guides than the included readme and this thread. Is very basic, so there isn't much more to explain for now I think.

    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:efault Template Directory") and start editting the included "main_page.html" file. What else do you need to know?

  6. #6
    Member
    Join Date
    Dec 2004
    Posts
    46
    Rep Power
    0


    Default RE: Re: RE: HTML template (and system) for the BTS

    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
    Network Administrator
    Kansas Hosting
    http://www.kansashosting.com

  7. #7
    Member
    Join Date
    Jan 2004
    Location
    Netherlands
    Posts
    71
    Rep Power
    0


    Default Re: RE: Re: RE: HTML template (and system) for the BTS

    Quote Originally Posted by miahac
    WOW! I love this contribution. This makes the BTS exactly what I wanted.
    Thank you

    Quote Originally Posted by miahac
    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
    That is both correct!

    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. #8
    Member
    Join Date
    Jan 2004
    Location
    Netherlands
    Posts
    71
    Rep Power
    0


    Default Re: RE: Re: RE: HTML template (and system) for the BTS

    Quote Originally Posted by miahac
    there are many tags used in the html that are not present in the stylesheet.css
    btw this is quite normal practice. That way you often only need to edit stylesheet to add styles. Else you would also have to add a class to your template for allmost every change you want.

  9. #9
    Member
    Join Date
    Aug 2003
    Location
    Southampton UK
    Posts
    63
    Rep Power
    0


    Default RE: Re: RE: Re: RE: HTML template (and system) for the BTS

    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. #10
    New Member
    Join Date
    Mar 2005
    Posts
    15
    Rep Power
    0


    Default RE: Re: RE: Re: RE: HTML template (and system) for the BTS

    what is the tag for affiliate?
    thanks!

Page 1 of 2 12 LastLast

Similar Threads

  1. HTML_PARAMS when upgrading RC1 to RC2 with HTML Template
    By miahac in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 09-27-2005, 08:50 AM
  2. Simple Template System Contrib (STS) in MS2MAX?
    By glk in forum osCMax v1.7 General Mods Discussion
    Replies: 4
    Last Post: 05-03-2005, 07:23 AM
  3. BTS 1.2a Basic Template System - questions
    By stevensdesign in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 04-13-2005, 01:18 PM
  4. BTS 1.0b to 1.2a Template System Upgrade causes DB error
    By RaEMeY in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-07-2004, 02:36 PM
  5. PLEASE explain how I can use the BTS (basic template system)
    By lucius in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 10-23-2003, 07:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •