osCmax v2.5 User Manual
Results 1 to 6 of 6

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 ...

      
  1. #1
    New Member
    Join Date
    Jun 2008
    Posts
    22
    Rep Power
    0


    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

  2. #2
    osCMax Developer

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


    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 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

  3. #3
    New Member
    Join Date
    Jun 2008
    Posts
    22
    Rep Power
    0


    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

  4. #4
    osCMax Developer

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


    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 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

  5. #5
    New Member
    Join Date
    Sep 2008
    Posts
    6
    Rep Power
    0


    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.

  6. #6
    osCMax Developer

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


    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 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

Similar Threads

  1. Can we get some Templates?
    By driwashsolutions in forum osCmax v2 Customization/Mods
    Replies: 5
    Last Post: 12-17-2006, 05:54 PM
  2. Templates?
    By TCM in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 08-28-2006, 10:35 PM
  3. templates
    By jcomputers in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 01-29-2006, 11:21 AM
  4. templates
    By crux in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 10-05-2005, 01:53 PM
  5. Templates
    By damnedpig in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 08-16-2004, 11:07 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
  •