killkenny Posted October 30, 2006 Posted October 30, 2006 Hi there, I'm sorry about the dumb question, I searched the forum but can't seem to find the answer. Basically I want the contact us link to point to my site's form and not the standard osCommerce form. My store is in /catalog/ and the form is in the root directory. I have changed FILENAME_CONTACT_US in the filenames.php file to '/contact.php', but then the link is www.mydomain.com/catalog//contact.php. Any advice?
pynchon Posted October 30, 2006 Posted October 30, 2006 Hi there, I'm sorry about the dumb question, I searched the forum but can't seem to find the answer. Basically I want the contact us link to point to my site's form and not the standard osCommerce form. My store is in /catalog/ and the form is in the root directory. I have changed FILENAME_CONTACT_US in the filenames.php file to '/contact.php', but then the link is www.mydomain.com/catalog//contact.php. Any advice? remove the preceding slash from '/contact.php' so it reads 'contact.php' in the filenames.php file ??
killkenny Posted October 30, 2006 Author Posted October 30, 2006 ummm then it would be domain.com/catalog/contact.php and not domain.com/contact.php. Sorry if I didn't explaine that well enough.
pynchon Posted October 30, 2006 Posted October 30, 2006 ummm then it would be domain.com/catalog/contact.php and not domain.com/contact.php. Sorry if I didn't explaine that well enough. the URL will be built from two seperate bits of information: the base ref of your site catalog: domain.com/catalog/ plus the filename stored within the filenames.php you could try editing the info box so it doesn't dynamically generate the URL for the contact page open catalog/includes/boxes/information.php find '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); and change it to '<a href="domain.com/contact.php">' . BOX_INFORMATION_CONTACT . '</a>'); this should give you the correct link within the infobox ... as for elsewhere in the catalog you would need to find where the link appears and amend it accordingly.
killkenny Posted October 30, 2006 Author Posted October 30, 2006 Darn. Oh well, if that's what must be done, that's what must be done. Thanks for your help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.