DP9690 Posted November 3, 2013 Posted November 3, 2013 New here so hope I'm posting in the right place. I had a bit of a dig around on Google and these Forums but all the instructions I found are either out of date (2003) or not what I'm after. I'm looking to remove the "Shipping & Returns" in the information box and replace it with something else (I sell digital products) but evertime I change the "Filename" to something else (I.E. download) the browser tries to navigate me to FILENAME_DOWNLOAD instead of download.php which is what I renamed all the shipping.php files too. I changed all references to shipping in the module box information PHP files but still no luck. I know how to change all the link names etc but I can't for the life of my figure out why it won't let rename the PHP files.
burt Posted November 3, 2013 Posted November 3, 2013 You need to also "define" FILENAME_DOWNLOAD in /includes/filenames.php
Jack_mcs Posted November 4, 2013 Posted November 4, 2013 @@DP9690 You are probably confusing the code since there is already a download.php file. In general, you shouldn't be renaming stock files. If you need a new file, you should create it. There should be a file in the root and one in the English directory with the same name and a definition for it in the incudes/filenames.php file. The FILENAME_DOWNLOAD is already defined, or should be, so either you have not included the application_top file in the new file or you've changed the filenames file and removed it. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
DP9690 Posted November 4, 2013 Author Posted November 4, 2013 @@burt - Thanks, that worked. I wondered where all of the file names were as they wasn't in the English.php file. @@Jack_mrs - I was using download as an example :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.