osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

templates

This is a discussion on templates within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; I'm a little confused on what temmplates are in the osCMax install. I see things like- aabox, Closed, css-fluid-1, fallback ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 06-26-2008, 11:26 AM
New Member
 
Join Date: Jun 2008
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
rickarooni is on a distinguished road
Default templates

I'm a little confused on what temmplates are in the osCMax install. I see things like- aabox, Closed, css-fluid-1, fallback ,help... in the templates folder, but I don't find any documentation anywhere on what these things are with the exception of aabox. So is there just one template? I was looking for more docs on skinning my site and am somewhat disappointed with the lack of it.
So far all I see is the "Part 1 : BTS Basics."

Is there more on this somewhere?

R
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 06-26-2008, 12:39 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,535
Thanks: 76
Thanked 334 Times in 313 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: templates

bts_docs [osCMax and osCommerce documentation]

That is all you need. It explains a lot about bts to get started. Where the files are, what they do, and specific examples on how to create your own template files.

It is pretty simple. Each folder in the templates directory is a distinct template. aabox is a template. fallback is a template. css-fluid is a template, etc... Each template can also have a boxes folder and a content folder, which you can create custom box templates or custom main content templates (middle section of different pages).

The fallback template has all the content files that all other templates use, or fall-back to if they do not have their own custom content files.
__________________
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!
Reply With Quote
  #3  
Old 06-26-2008, 04:38 PM
New Member
 
Join Date: Jun 2008
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
rickarooni is on a distinguished road
Default Re: templates

Thanks.
Is there a place where I can see these different templates illustrated? How would I know what they look like? And how does one set up another template as the default for a site?
R
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 06-26-2008, 05:56 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,535
Thanks: 76
Thanked 334 Times in 313 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: templates

Install oscmax. Login to the admin. Go to configuration. Change the Default Template Directory to whatever one you want to use.

It is set to aabox by default. Want to see fallback? Change the setting to fallback. Want to see CSS-fluid? Change the setting to css-fluid. Have fun.
__________________
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!
Reply With Quote
  #5  
Old 09-16-2008, 05:07 AM
New Member
 
Join Date: Sep 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
deserthighway is on a distinguished road
Default Re: templates

Quote:
Originally Posted by michael_s View Post
Install oscmax. Login to the admin. Go to configuration. Change the Default Template Directory to whatever one you want to use.
This seems to be different on my store, which was installed a few years ago (RC2 I think).

I'm trying to figure out where to put a few lines of Google Analytics <script> so that it will show up on each page of the store. I'm looking at the OSCDox page at bts_docs [osCMax and osCommerce documentation] and I'm wondering if main_page.tpl.php is the one I need. I tried using that and disabling the cache, but Google's system said it couldn't find the code on my site, so I'm guessing I need to look elsewhere.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 09-16-2008, 09:13 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,535
Thanks: 76
Thanked 334 Times in 313 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: templates

You do put it in main_page.tpl.php.

If it isn't showing up, you didn't put it in the right main page template. Make sure you put it in the correct one (it will be in the template dir that you have assigned in the admin).
__________________
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!
Reply With Quote
Sponsored Links
Advertisement
Reply

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
Can we get some Templates? driwashsolutions osCMax v2 Customization/Mods 5 12-17-2006 05:54 PM
Templates? TCM osCMax v2 Customization/Mods 1 08-28-2006 10:35 PM
templates jcomputers osCMax v2 Customization/Mods 1 01-29-2006 11:21 AM
templates crux osCMax v2 Customization/Mods 0 10-05-2005 01:53 PM
Templates damnedpig osCMax v1.7 Discussion 5 08-16-2004 11:07 AM


All times are GMT -8. The time now is 06:24 PM.


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