Guest Posted July 12, 2003 Share Posted July 12, 2003 We would like to edit the following area in our site Information tab-To add more information about us there. Specials - we need to add a month to the specials tab so when they open site its saying specails for this month. Also we want to keep showing the banner and turn off the pictures that do not have a pciture as yet, can we do this at all without turning off the header and banners as well. if you have any ideas , please let us know. Link to comment Share on other sites More sharing options...
ashlyn Posted July 13, 2003 Share Posted July 13, 2003 You said: Information tab-To add more information about us there.. Open up the information.php file in catalog/includes/boxes and you will see some code which looks like this: '<a href="' . tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . You will need to add another line like this, but change bits and pieces of it. change FILENAME_CONDITIONS to FILENAME_ABOUTUS, and BOX_INFORMATION_CONDITIONS to BOX_INFORMATION_ABOUTUS (or whatever you want the page to be). So it would look like this: '<a href="' . tep_href_link(FILENAME_CONDITIONS, '', 'NONSSL') . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_ABOUTUS, '', 'NONSSL') . '">' . BOX_INFORMATION_ABOUTUS . '</a><br>' . Then you need to create the file aboutus.php in the following areas.. catalog/includes/languages/english/ (copy the conditions.php file and change the inner details anywhere you see the words conditions.php, then save and upload it as aboutus.php) catalog/ (once again, copy the conditions.php file in that folder and anywhere you see the word conditions or CONDITIONS, change it to aboutus or ABOUTUS. Save and upload as aboutus.php) You also need to change the catalog/includes/application_top.php file to add this: (below this part in the code // define the filenames used in the project *approximately line 40*) define('FILENAME_ABOUTUS', 'aboutus.php'); Then in catalog/includes/languages/english.php you have to find this line: // information box text in includes/boxes/information.php *about 100 lines down* and add the following code where you want the About Us link to appear.. define('BOX_INFORMATION_ABOUTUS', 'About Us'); You will see the list of items appearing in your Information box, just put it in the order you want it to show on your page. Give me a yell if you need a hand with this. Remember to save a backup copy of the files you use first, just in case. I hope I didn't miss one of the files... ------------------------------------------------------- I used to be insane, but now I'm just nuts ;) Link to comment Share on other sites More sharing options...
ashlyn Posted July 13, 2003 Share Posted July 13, 2003 You asked: Also we want to keep showing the banner and turn off the pictures that do not have a pciture as yet, can we do this at all without turning off the header and banners as well. Login to admin, go to Configuration/Images and set "Image required" to false. You could also use a small transparent gif image instead of the required product or category image. It won't be seen and is only 1x1px in size, but will stretch out to fill the space and remove that little x box that appears when there is no image. There is one here that you can use.. http://www.magickalmoon.com/images/invisible.gif (right click and "save target/as" because you won't see it on the page if you go to the link) ------------------------------------------------------- I used to be insane, but now I'm just nuts ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.