Results 1 to 3 of 3

adding url link to external page from information box

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 ...

      
  1. #1
    Member
    Join Date
    Jun 2004
    Location
    UK
    Posts
    56
    Rep Power
    0


    Default adding url link to external page from information box

    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. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: adding url link to external page from information box

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member Jonnyboy's Avatar
    Join Date
    May 2005
    Location
    Cambridge England
    Posts
    22
    Rep Power
    0


    Default RE: adding url link to external page from information box

    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

Similar Threads

  1. Link to an external page
    By jcomputers in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 07-27-2006, 07:07 PM
  2. adding information page
    By jschafer52 in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 10-11-2005, 10:21 AM
  3. direct link in Information box
    By thedesignbase in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 01-30-2005, 07:19 AM
  4. Internal/External Links in Information Box
    By silkenstrand in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 08-02-2004, 07:23 AM
  5. adding item to cart from external webpage
    By brianstorm in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-16-2003, 03:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •