Guest Posted October 20, 2005 Share Posted October 20, 2005 HELP......... I am tringing to get oscommerce to run a file from the shipping page. here is my example. I added a box to the infomation section called WEATHER. I made all the necessary changes, and I have it saying " weather page". what i want to do, is get it to load a file called weather_xml.php and display it in the text area. what it does is run the weather channels local weather and displays it on your page. Here is what I have: <?php /* define('NAVBAR_TITLE', 'Weather'); define('HEADING_TITLE', 'Weather'); define('TEXT_INFORMATION',' <a href="weather_xml.php>Click here for your weather</a> '); ?> I want it to automatically run the program in the text area without having to click anything. I tried putting the INCLUDE command before the define("navbar_title") command and it works, but runs the program at the top and not in the text area. Please help.. [email protected] Link to comment Share on other sites More sharing options...
Guest Posted October 20, 2005 Share Posted October 20, 2005 you could include it in the catalog\shipping.php file in the place where you want it to appear. See for example how the products_listing.php module is included in the catalog\index.php. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.