This is a discussion on adding url link to external page from information box within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi. I'm trying to add a link to my information box to link to an external forum so I have ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi. I'm trying to add a link to my information box to link to an external forum so I have been trying to modify the /catalog/includes/boxes/information.php file by adding this line. '<a href="http://linktofile.com" title="titleoflink">titleoflink</a><br>' . It's not working so is there a second part to this that I must also do for it to work?? All advise welcomed. P. |
|
#2
| ||||
| ||||
| What is the error you are getting. Please post the new code in context of the line above and below it.
__________________ Michael Sasek osCMax Developer
|
|
#3
| ||||
| ||||
| Hi If you have the latest edition of oscmax you need to do somthing like this $boxContent = '<a href="' . tep_href_link(FILENAME_SHIPPING) . '"> ' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '"> ' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '"> ' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '"> ' . BOX_INFORMATION_CONTACT . '</a><br>'. '<a href="' . tep_href_link(FILENAME_CATALOG_PRODUCTS_WITH_IMAGE S, '', 'NONSSL') . '">' . BOX_CATALOG_PRODUCTS_WITH_IMAGES . '</a><br>' . '<a href="http://linktofile.com" title="titleoflink">titleoflink</a><br>' . '<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '"> ' . BOX_INFORMATION_GV . '</a>';//ICW ORDER TOTAL CREDIT CLASS/GV As msasek said post the code so we can take a look John |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Link to an external page | jcomputers | osCMax v2 Customization/Mods | 1 | 07-27-2006 06:07 PM |
| adding information page | jschafer52 | osCMax v2 Customization/Mods | 1 | 10-11-2005 09:21 AM |
| direct link in Information box | thedesignbase | osCMax v1.7 Discussion | 1 | 01-30-2005 07:19 AM |
| Internal/External Links in Information Box | silkenstrand | osCommerce 2.2 Modification Help | 2 | 08-02-2004 06:23 AM |
| adding item to cart from external webpage | brianstorm | osCommerce 2.2 Modification Help | 0 | 04-16-2003 02:38 AM |