Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tech Tips Module


jmackay

Recommended Posts

Posted

Hello,

 

I was trying to make a tech tips module for the site that would allow for tips and stuff like that to be posted on the site. It would be placed under the reviews section. My problem is I'm not sure where some of the config files are placed for some of the variables, and because of that my pages / scripts are not working.

 

Does anyone have some tips for me? ;)

 

Has anyone else created a module somewhat like this before?

 

Where are the MAX_DISPLAY_* variables declared?

 

The site:

http://www.ironmachine.com

 

Thanks,

John

Posted

Thats how it has always been.. I'm not sure why it would be different on your site.

 

Anyone have some tips for me on how to do this?

Posted

MAX_DISPLAY_* are stored in the configuration table of the database, but they can be placed in either configure.php or application_top.php:

 

define('MAX_DISPLAY_MYTHING',  '6');

 

Matti

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...