osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Modifying Page for BTS Compatibility

This is a discussion on Modifying Page for BTS Compatibility within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Hi All, Not sure if this is the correct place to talk about this but here we go. I downloaded ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-29-2005, 11:46 AM
Member
 
Join Date: Mar 2005
Location: In a Van Down The River
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
prosam
Default Modifying Page for BTS Compatibility

Hi All,
Not sure if this is the correct place to talk about this but here we go.

I downloaded a contribution from osC so I could have a page that listed the bestsellers and then proceeded to modify it so it would be compatible with BTS. I have done this before with osC affiliate before it was available with Max so I had a pretty good idea how to do it. Though I had a bit of a hard time doing it I got it to work but some things are still bugging me and I was hoping someone here could help me out.

In order to get it to work I had to call the template file "CONTENT_BESTSELLING_PRODUCTS.tpl.php" instead of "bestselling_products.tpl.php". Could someone check it out and let me know what I did wrong.

The other thing is that the info is being pulled from what is supposed to be a an infobox so I was hopinf someone could integrate the code right into the tpl file instead of it coming from the boxes folder.

Take a look at the attched zipped files and you will see what I mean.

Thanks guys.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 04-12-2005, 12:56 AM
Member
 
Join Date: Jan 2004
Location: Netherlands
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
paulM
Default RE: Modifying Page for BTS Compatibility

You need to define CONTENT_BESTSELLING_PRODUCTS in includes/filenames.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-27-2005, 07:46 AM
Member
 
Join Date: Mar 2005
Location: In a Van Down The River
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
prosam
Default RE: Modifying Page for BTS Compatibility

It does work. Please re-read the post. Somethings asre just bothering me about it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-27-2005, 09:22 AM
Member
 
Join Date: Dec 2004
Posts: 75
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
bdneuman
Default Re: RE: Modifying Page for BTS Compatibility

Quote:
Originally Posted by prosam
It does work. Please re-read the post. Somethings asre just bothering me about it.
Whenever you add a contrib w/ BTS, you need to modify the instructions for the definitions that are required in filenames.php. When they tell you to add this:

Code:
define (FILENAME_WHATEVER, 'whatever.php');
you need to split this into two definitions like:

Code:
define (CONTENT_WHATEVER, 'whatever');
define(FILENAME_WHATEVER, CONTENT_WHATEVER . '.php');
This is why you had to rename your file. BTS uses the CONTENT_WHATEVER for it's template files (whatever.tpl.php).
__________________
Brian Neuman
Webmaster
www.honeybeadjewelry.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
modifying product displays on the main page siamsens osCMax v2 Customization/Mods 1 05-01-2007 07:35 AM
Modifying Product_info.php Migraine osCommerce 2.2 Modification Help 0 05-04-2005 02:23 AM
modifying index.php - Front page of the catalog wlocker osCommerce 2.2 Modification Help 1 01-23-2005 12:49 PM
Modifying new account svepe osCommerce 2.2 Modification Help 2 06-02-2003 03:17 AM
Modifying Signup (Register) Page terabite.com osCommerce 2.2 Modification Help 0 02-03-2003 07:55 PM


All times are GMT -8. The time now is 08:09 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax