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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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 |
|
#4
| ||||
| ||||
| 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
|
|
#5
| |||
| |||
| Quote:
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. |
|
#6
| ||||
| ||||
| 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
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |