kenobione Posted October 9, 2006 Posted October 9, 2006 I would like to include the "New Products of Month" script with my OSCommerce "html content". I'm trying to determine the hard-code for the php generated script "New Products of Month" so that I can include this with my "html content". I only need this for a selective number of pages, not all (therefore I don't want to modify index.php). Within my OSCommerce html content, I've attempted with the following but have not been able to get the "New Products of Month" to appear. OSCommerce HTML Content: <valid html code here> <?php include("catalog/includes/modules/new_products.php"); ?> and I've tried ... <valid html code here> <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ANY HELP WOULD BE GREATLY APPRECIATED! Thank you!
bill110 Posted October 10, 2006 Posted October 10, 2006 I would like to include the "New Products of Month" script with my OSCommerce "html content". I'm trying to determine the hard-code for the php generated script "New Products of Month" so that I can include this with my "html content". I only need this for a selective number of pages, not all (therefore I don't want to modify index.php). Within my OSCommerce html content, I've attempted with the following but have not been able to get the "New Products of Month" to appear. OSCommerce HTML Content: <valid html code here> <?php include("catalog/includes/modules/new_products.php"); ?> and I've tried ... <valid html code here> <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ANY HELP WOULD BE GREATLY APPRECIATED! Thank you! Have you tried adding this at the top <? php require('includes/application_top.php'); ?> My Contributions Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly Password Protect Admin "No matter where you go....There you are" - Buccaroo Bonsai
kenobione Posted October 13, 2006 Author Posted October 13, 2006 Have you tried adding this at the top <? php require('includes/application_top.php'); ?> I have tried. Thanks for the reply! This is the code I currently have, however no "featured products of month" is showing up. Any help would be greatly appreciated. <?php require('includes/application_top.php'); include('http://www.exitrealworld.com/catalog/new_products.php'); include('http://www.exitrealworld.com/catalog/index.php'); include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.