Rolo86 Posted August 5, 2010 Posted August 5, 2010 Hi all, This may sound silly and be ridiculously easy to solve, however, I am not sure how to do this, which is why I would really appreciate any help given. It has recently been brought to my attention that my site has no Privacy or Cancellation Policies and I would like to add these. I realise that these are built into the site from the start, however, for some reason-and I cannot remember now why- I got rid of these links and now I am not sure how to add them again. I have checked in the Admin, File Manager to check if the PHP files are still there and they seem to be, so now the only problem I have is not knowing how to activate the links to show in the "Information" box again. Any help given would be much appreciated, so thank you in advance.
blr044 Posted August 5, 2010 Posted August 5, 2010 I have checked in the Admin, File Manager to check if the PHP files are still there and they seem to be, so now the only problem I have is not knowing how to activate the links to show in the "Information" box again. Any help given would be much appreciated, so thank you in advance. First you will need to enter this into includes/boxes/information.php '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . Just renamed condition to the correct name of your file. Then you need to add define('FILENAME_PRIVACY', 'privacy.php'); to includes/filenames.php - and then follow what you see your langauage/english.php file under // information box text in includes/boxes/information.php around line 122 of an vanilla OSC.
Rolo86 Posted August 5, 2010 Author Posted August 5, 2010 Hi, Thanks bir044, I will give it a try and let you know how I got on.
Guest Posted August 6, 2010 Posted August 6, 2010 Roushney, I find the IPU contribution very helpful when adding and editing information box pages. http://addons.oscommerce.com/info/1026 Chris
Rolo86 Posted August 6, 2010 Author Posted August 6, 2010 Thanks Chris for the link. Am a newbie and I suppose it shows.....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.