osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

instructions on how to use the html template system for the BTS

This is a discussion on instructions on how to use the html template system for the BTS within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; hi it seems the html_template version of bts addon is installed in oscmax 2.03, but i cant find main_page.html anywhere ...

      
  1. #1
    Member
    Join Date
    Oct 2009
    Posts
    35
    Rep Power
    0


    Default instructions on how to use the html template system for the BTS

    hi

    it seems the html_template version of bts addon is installed in oscmax 2.03, but i cant find main_page.html anywhere in my oscmax 2.03 installation.
    is it really installed?

    also, are there any step by step instructions for using the html_template version of bts, it only seems like there are instructions for bts, but those are long and hard to follow.

    i am looking for a way to make great looking templates for oscmax, can this be done with the main_page.html version of the bts?

    thanks

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: instructions on how to use the html template system for the BTS

    Quote Originally Posted by silverping View Post
    hi

    it seems the html_template version of bts addon is installed in oscmax 2.03, but i cant find main_page.html anywhere in my oscmax 2.03 installation.
    is it really installed?
    Nope, only BTS - HTML is an addon
    Quote Originally Posted by silverping View Post
    also, are there any step by step instructions for using the html_template version of bts, it only seems like there are instructions for bts, but those are long and hard to follow.
    Michael posted instructions in the forum - sticky post.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: instructions on how to use the html template system for the BTS

    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    Member
    Join Date
    Oct 2009
    Posts
    35
    Rep Power
    0


    Default Re: instructions on how to use the html template system for the BTS

    how are all the other pages besides the main_page.html edited?

  5. #5
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: instructions on how to use the html template system for the BTS

    Look in the <content> folder in the <your template> folder ...

    If you do not have a content/ folder then all the pages will be pulled from <fallback>.

    When you edit a page ... start with the one from <fallback> and copy it to <your template>/content/ and then edit.

    Hope this helps,
    pgmarshall
    _______________________________

  6. #6
    Member
    Join Date
    Oct 2009
    Posts
    35
    Rep Power
    0


    Default Re: instructions on how to use the html template system for the BTS

    how are the pages under /content edited? are they edited using html_template syntax just like main_page.html?

    and must every oscmax page itself be edited, or is there some kind of template that they will all follow?

  7. #7
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: instructions on how to use the html template system for the BTS

    All of the <content> pages are php files which contain both html and php. If you can code html you should be able to make most changes you need.

    The template is main_page.html - this is frame into which the content is loaded.

    Regards,
    pgmarshall
    _______________________________

  8. #8
    Member
    Join Date
    Oct 2009
    Posts
    35
    Rep Power
    0


    Default Re: instructions on how to use the html template system for the BTS

    how do i add a logo to my store?
    i have dropped the tag: {cataloglogo} into the header, but no image is showing up.

    where should the store logo image be saved, and what should it be called?

  9. #9
    Member
    Join Date
    Oct 2009
    Posts
    35
    Rep Power
    0


    Default Re: instructions on how to use the html template system for the BTS

    html_template seems like an extremely excellent enhancement for oscmax, can any one show the simple syntax used to add just a store logo?

  10. #10
    osCMax Developer

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


    Default Re: instructions on how to use the html template system for the BTS

    If you want to see all the tags available, just edit the main_page_code.php file or download the zip file posted in the forums and read the installation.txt file included in it. It lists all the tags and how to use them. There really is no "proper" syntax though. You just drop in the tags in your main_page.html page wherever you want the element to appear. If you want an example, just edit the included main_page.html file and simply copy how it is done there. This is so easy, I think you are over-complicating the process. There is really nothing more to do than create your html template and then just drop in the tags were you want stuff to appear.

    Of course, if you don't know html/css, you could have problems.

    osCMax HTML template system for BTS

    See below:
    osCMax HTML Template - 'Compromise'
    6/6/2009

    This is the 1.0 release of the osCMax html template system based on the original html template for bts mod.
    Please note there may be some missing elements or bugs, it is still in development.

    Installation:
    1. Make a backup of your default button set.

    2. Upload the files in the buttons directory to your /includes/languages/english/images/buttons directory.

    3. Upload the entire compromise directory to your templates directory.

    4. In the admin panel, Go to the Configuration section and change the template directory to compromise

    5. Visit your site, and you are now using the new template.

    Notes:

    To create your own 100% custom template from any html file, simply replace the stylesheet.css file with your own custom styles, and replace the main_page.html file with your own.

    To add osCMax elements, all you need to do is drop in the tags where you want the elements to show up.

    Here is a list of the tags you can use:

    {htmlparams}
    {headertags}
    {stylesheet}
    {javascript}
    {slimbox}
    {common}
    {cataloglogo}
    {myaccountlogo}
    {cartlogo}
    {checkoutlogo}
    {breadcrumbs}
    {myaccount}
    {cartcontents}
    {checkout}
    {content}
    {columnleft}
    {columnright}
    {footer}
    {banner}
    {date}
    {numrequests}
    {BTSsid}
    {year}

    There are also tags for each box, which are not needed anymore (but are still there if you want to use them), as we use the admin panel to manage the boxes instead of code.

    {categorybox}
    {manufacturerbox}
    {whatsnewbox}
    {searchbox}
    {informationbox}
    {cartbox}
    {maninfobox}
    {bestsellersbox}
    {reviewsbox}
    {languagebox}
    {currenciesbox}
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    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

Page 1 of 2 12 LastLast

Similar Threads

  1. osCMax HTML template system for BTS
    By michael_s in forum osCMax v2 Features Discussion
    Replies: 13
    Last Post: 11-26-2010, 11:15 PM
  2. bts template system with html template
    By silverping in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 10-08-2009, 09:12 AM
  3. Replies: 6
    Last Post: 06-24-2008, 07:42 AM
  4. HTML template (and system) for the BTS
    By paulM in forum osCmax v2 Customization/Mods
    Replies: 17
    Last Post: 11-24-2005, 11:24 AM
  5. 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, 07:50 AM

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
  •