Guest Posted December 8, 2006 Posted December 8, 2006 Using a very very old version from 2003 .... On the left-hand side under "Information" there is a "contact us" link using contactus.php. I want to edit that to a URL for a help desk instead of using the contact form. Which file do I edit to change the link? I see the text in information.php -- is that it? <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); And, how would I change if (if that is indeed it)? can I delete the link above and just put in my own code, i.e. a href="http://www.helpdeskurl.com"> contact us
jpweber Posted December 8, 2006 Posted December 8, 2006 Yes ... in (catalog)/includes/boxes/information.php, you take that link: <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); and change it to whatever you named your helpdesk in your (catalog)/includes/filenames, and leave the "contact us" text there. So it will say "contact us" and point to your helpdesk. You code this such as: <a href="' . tep_href_link(FILENAME_HELPDESK) . '">' . BOX_INFORMATION_CONTACT . '</a>'); Note: I'm just guessing your helpdesk is named "HELPDESK" in your (catalog)/includes/filenames. Go into the file and see for yourself what it's named. Good luck. Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
Guest Posted December 8, 2006 Posted December 8, 2006 Thanks, but I have no file named helpdesk -- my helpdesk is installed on another domain on another server totally. I tried editing the file and it kept breaking it ........ I finally changed the <a href=" to the helpdesk URL and for some reason, it removed the 'contact us' from the main page under information. For now, I named contactus.php to something else so no one can use it. But, I can't seem to be able to make the "contact us" show up as a link .... so I figured I'd put it in the footer. Heh. I can't find the file. Footer.php isn't the file
jpweber Posted December 9, 2006 Posted December 9, 2006 If all you wanna do is link them and you don't care if it's to another domain, just change the line to this in your includes/boxes/information.php, assuming that it's the last line of links in there, which it seems to be, based on your code ... having the '); at the end (target them to _blank to open a new window, leave it out to keep the same window): '<a href="http://www.linktohelpdesk.com" target="_blank">Contact Us</a>'); Jason Simple 1-2-3 Intructions on how to get, install and configure SSL The Google Sandbox explained Simple to follow instructions on how to change the look of your OSC How To Make A Horrible OSC Website my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...
Guest Posted December 10, 2006 Posted December 10, 2006 Thanks, I'll try that and scream if I break anything :-"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.