osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Featured Products installation error - HELP please

This is a discussion on Featured Products installation error - HELP please within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Originally Posted by msasek You need to define FEATURED_PRODUCTS in the content section of /includes/filenames.php so it knows what the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #11  
Old 11-23-2006, 02:55 PM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
Default Re: RE: Featured Products installation error

Quote:
Originally Posted by msasek
You need to define FEATURED_PRODUCTS in the content section of /includes/filenames.php so it knows what the file name is...
Still banging away at it.
Going to give up soon as getting nowhere.

This is already defined in /includes/filenames.php

define('FILENAME_FEATURED', 'featured.php');
define('FILENAME_FEATURED_BOX', 'featured.php');
define('FILENAME_FEATURED_PRODUCTS', 'featured_products.php');

Still working 100% on my local server. Not working on the main server ??There must be a reason why the whole right hand column is missing.
It's proving to be a tough nut to crack.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #12  
Old 11-23-2006, 07:36 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,334
Thanks: 68
Thanked 324 Times in 307 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Re: RE: Featured Products installation error

You are not looking in the right place... It is not defined in filenames.php down there. It will be defined in content section, not the filenames section. You need a line like this:

define('CONTENT_FEATURED_PRODUCTS', 'featured_products');

It is not looking for featured_products.php it is looking for featured_products.tpl.php

Then you need to fix your featured_products.php to look for CONTENT_FEATURED_PRODUCTS instead of FEATURED_PRODUCTS

That was your issue all along... You changed

$content = CONTENT_FEATURED_PRODUCTS;

To read just...

$content = FEATURED_PRODUCTS;

When what you should have done was just add
define('CONTENT_FEATURED_PRODUCTS', 'featured_products');

to your filenames.php file in the BTS content section.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #13  
Old 11-24-2006, 09:58 PM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
Default RE: Re: RE: Featured Products installation error

Thanks Michael. This is now finally sorted.
The original instructions are pretty simple to follow.
I just had to make a couple of additional minor changes to make it BTS compatible.
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
Anyone have FEATURED PRODUCTS installed? FlipC osCMax v2 Customization/Mods 0 09-27-2006 07:41 PM
Featured Products HELP Please. lil-raskals osCommerce 2.2 Modification Help 0 10-07-2004 05:51 AM
Featured Products Stu osCMax v1.7 Discussion 3 09-13-2004 06:42 PM
cieto featured products in MS2-MAX1.5 Anonymous osCMax v1.7 Discussion 1 04-02-2004 10:29 AM
Featured Products contribution janus osCommerce 2.2 Modification Help 0 10-08-2003 09:36 AM


All times are GMT -8. The time now is 06:44 AM.


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