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

customised template

This is a discussion on customised template within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi every 1. I am very very new user of oscommerce. i am wondering how to use customised template.how could ...

      
  1. #1
    Lurker
    Join Date
    May 2005
    Posts
    1
    Rep Power
    0


    Default customised template

    Hi every 1.

    I am very very new user of oscommerce. i am wondering how to use customised template.how could i change the look of mysite ? if any 1 of u have knowledge about plz let me know.

    thanks in advance

    yasirkhan

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    75
    Rep Power
    8


    Default Re: customised template

    Quote Originally Posted by yasirkhan
    Hi every 1.

    I am very very new user of oscommerce. i am wondering how to use customised template.how could i change the look of mysite ? if any 1 of u have knowledge about plz let me know.

    thanks in advance

    yasirkhan
    Okay, this should get you started:

    OSCMax uses the Basic Template System (BTS). All of the layout and formatting of the pages are included in the template's folder. You should find catalog/template/osC and others. Pick one you like as a starting point and then look at the following files in your template directory:

    1. mainpage.tpl.php - this contains the overall page layout for the store. You'll find the header, navbar, and footer within this page. Columns and content are called with includes. You'll spend alot of time here getting your overall layout down.

    2. stylesheet.css - here are the colors, background images, borders, font styles/sizes, etc. Pick a color scheme and go to town...

    3. boxes/box.tpl.php - this is the box template. Go here if you want to change the header of the boxes to include images, for example.

    4. content/index_default.tpl.php, index_nested.tpl.php, index_products.tpl.php - these files display the pages for the mainpage (default), nested category page (nested), and product info page (products). Edit these to find things like the "New Products" and "Specials" boxes that appear in the center of the store, at the bottom of the page.

    5. content/static.tpl.php - this is used for "static" pages like shipping, privacy, etc.

    6. Outside of the templates folder, look in includes/column_left.php and column_right/php. You can adjust which boxes display on what areas of the store here.

    You'll find that most contrib's don't follow the BTS structure so you'll have to do some manual adjustment on these at times.

    Hope this helps point you in the right direction - good luck!
    Brian Neuman
    Webmaster
    www.honeybeadjewelry.com

Similar Threads

  1. how to get the new template
    By nadirimran in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 07-03-2006, 02:08 AM
  2. New template installation
    By crispin in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 11-06-2005, 08:24 AM
  3. osC Template
    By auntie22 in forum osCMax v2 Features Discussion
    Replies: 3
    Last Post: 08-06-2005, 08:01 AM
  4. Customised installation, strange results on first visit
    By figgles in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 04-13-2004, 08:33 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
  •