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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| Quote:
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! |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to get the new template | nadirimran | osCMax v1.7 General Mods Discussion | 0 | 07-03-2006 02:08 AM |
| New template installation | crispin | osCMax v2 Installation issues | 1 | 11-06-2005 09:24 AM |
| osC Template | auntie22 | osCMax v2 Features Discussion | 3 | 08-06-2005 08:01 AM |
| Customised installation, strange results on first visit | figgles | osCMax v1.7 Discussion | 1 | 04-13-2004 08:33 AM |