osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-15-2005, 07:08 AM
Member
 
Join Date: Jan 2004
Location: Netherlands
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
paulM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 06-15-2005, 07:44 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,982
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-16-2005, 12:20 AM
Member
 
Join Date: Jan 2004
Location: Netherlands
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
paulM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-18-2005, 02:18 PM
New Member
 
Join Date: Jun 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kolamon.com
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 06-19-2005, 03:30 AM
Member
 
Join Date: Jan 2004
Location: Netherlands
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
paulM
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 06-24-2005, 07:33 AM
Member
 
Join Date: Dec 2004
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
miahac
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 06-25-2005, 07:24 AM
Member
 
Join Date: Jan 2004
Location: Netherlands
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
paulM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 06-28-2005, 07:55 AM
Member
 
Join Date: Jan 2004
Location: Netherlands
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
paulM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 07-04-2005, 02:21 PM
Member
 
Join Date: Aug 2003
Location: Southampton UK
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
NickW
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 07-04-2005, 05:35 PM
New Member
 
Join Date: Mar 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
newtothis
Default RE: Re: RE: Re: RE: HTML template (and system) for the BTS

what is the tag for affiliate?
thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 12:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax