PDA

View Full Version : BTS Questions



letmelearn
06-27-2008, 01:17 AM
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?:confused:

Thanks LML

met00
06-27-2008, 09:31 PM
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. :-)

michael_s
06-28-2008, 08:07 PM
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?:confused:

Thanks LML

You are not correct and you have missed a lot.

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.

letmelearn
06-29-2008, 12:05 AM
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!:rolleyes:

(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

letmelearn
07-01-2008, 10:55 PM
Can anyone help me with this problem? Surely someone knows how to do it or knows of a tutorial?

Thanks
LML

letmelearn
07-03-2008, 01:00 AM
Surely there is a tutorial on this, I know there are lots of people asking the same question but nobody is replying, please help :confused:

tcshadow
07-06-2008, 01:36 AM
Maybe search for BTS1.5 on the oscommerce forums/conrtibutions and reading the documentation?

michael_s
07-06-2008, 05:39 PM
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.

tcshadow
07-06-2008, 05:47 PM
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:

http://www.oscmax.com/forums/oscmax-v2-customization-mods/14544-google-analytics-e-commerce.html

If you can help me implement it properly I'll write up the documentation for it.

michael_s
07-06-2008, 07:11 PM
Here is a link to the tutorial:
http://www.oscmax.com/forums/oscmax-v2-features-discussion/14626-bts-template-tutorial-examples-converting-oscommerce-template-bts.html

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_s
07-06-2008, 08:36 PM
See this post for an example of how to create a secondary main template to be used on a specific page:
http://www.oscmax.com/forums/oscmax-v2-customization-mods/14544-google-analytics-e-commerce.html#post36626

It is very straightforward.