This is a discussion on BTS Questions within the osCommerce 2.2 Discussion forums, part of the osCommerce 2.2 Forums category; Hi, I keep reading about the BTS being better and easier to work with but I'm not finding it so. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I keep reading about the BTS being better and easier to work with but I'm not finding it so. From what I can gather, all pages have to be the same layout; same boxes, no room to customize pages with different boxes, or no boxes at all. Am I correct or have I missed something? Thanks LML |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| BTS is a clean way to manage a simple template. For instance, you can program the main_page to be used on only certain pages and on other pages use a different main_page template by just telling the root program to make a different call. So, when it comes into index.php it can display main_page_front.tpl.php and then if the user clciks anything else they can go to main_page.tpl.php. You can use the fallback for 80% of the pages, and modify the last 20% and place them in the templates content directory. With a minor modification to templates/boxes you can have multiple boxes used. The amount of personalization you can do with BTS is only limited to your imagination and how much you want to hack away at the UI.
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
|
#3
| ||||
| ||||
| Quote:
Every page and every box can have its own custom template and can be completely different from alll others if you want... Some boxes, no boxes, etc.
__________________ Michael Sasek osCMax Developer
|
|
#4
| |||
| |||
| Great, thanks for the info. Please could you direct me to a tutorial on how to create an alternate template? I copied main_page.tpl.php and renamed it to products_page.tpl.php, I created new filenames in filenames.php but I don't know what else to do. I read on another post that I need to do something with this: include (bts_select('main', $content_template)); // BTSv1.5 And I'm guessing I need to change 'main' to something else like 'product' but I don't know where 'main' is referenced within other files. Hopefully I'm on the right track! (I've been using oscommerce for a year now and want to switch to oscmax because it's loads better, if I could only understand how to create alternate templates i'd be sorted) Thanks LML |
|
#5
| |||
| |||
| Can anyone help me with this problem? Surely someone knows how to do it or knows of a tutorial? Thanks LML |
|
#6
| |||
| |||
| Surely there is a tutorial on this, I know there are lots of people asking the same question but nobody is replying, please help |
|
#7
| |||
| |||
| Maybe search for BTS1.5 on the oscommerce forums/conrtibutions and reading the documentation? |
|
#8
| ||||
| ||||
| I just located a tutorial that has a lot of detail. It is not complete by any means, but it is very detailed. I am going to copy over in a new thread and will update you when I have it ready.
__________________ Michael Sasek osCMax Developer
|
|
#9
| |||
| |||
| Michael any chance I could get you to look into the whole analytics/e-commerce tracking thing not working with BTS when usnig the new ga.js code? Not trying to derail, it's a BTS related thing. referring to this thread: Google Analytics e-commerce If you can help me implement it properly I'll write up the documentation for it. |
|
#10
| ||||
| ||||
| Here is a link to the tutorial: BTS Template Tutorial, Examples, converting osC template to BTS It talks about converting a html osC template to osCMax, but there is a lot of good info that explains how things work. This should get you started. I added a tutorial on how to create a secondary main template, and per-page custom stylesheets. Armed with this info, you should be well on your way.
__________________ Michael Sasek osCMax Developer
Last edited by michael_s; 07-06-2008 at 10:06 PM. Reason: added more info |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A few more questions that I believe that will help not only me these to several ... | dombshai | osCMax v2 Features Discussion | 0 | 03-02-2007 04:19 AM |
| BTS 1.2a Basic Template System - questions | stevensdesign | osCMax v1.7 General Mods Discussion | 1 | 04-13-2005 12:18 PM |
| Just a few QUESTIONS for You | kellycog | osCommerce 2.2 Modification Help | 3 | 07-03-2004 10:45 AM |
| Some questions (and errors) | danijel | osCommerce 2.2 Installation Help | 0 | 12-16-2003 11:23 AM |
| A Few Questions | ckeeper | osCommerce 2.2 Modification Help | 0 | 07-01-2003 05:12 PM |