osCmax v2.5 User Manual
Results 1 to 3 of 3

Adding outside links to info boxes

This is a discussion on Adding outside links to info boxes within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I installed a forum and topsite section in my web site. I made a box called extras, In extas I ...

      
  1. #1
    Lurker
    Join Date
    Nov 2002
    Posts
    1
    Rep Power
    0


    Default Adding outside links to info boxes

    I installed a forum and topsite section in my web site.

    I made a box called extras, In extas I need to link to these programs which are located outside the catalog directory ie... http://forums.mysite.com instead of www.mysite.com/forums. My question is how do I write the link to go directly to the forum?

    I type it in as a url link in boxes/extras and osc adds the mysite.com before forums.mysite.com. so it looks like this.....

    http://www.mysite.com/forums.mysite.com

    which of course does not work.

    Any suggestions?

  2. #2
    osCMax Developer

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


    Default

    I am not sure if you followed the instructions in the guide, but this is normally where you would add the link info:

    file: /catalog/includes/boxes/yourcustombox.php


    Simply hardcode your url into this section. That should work for you. See the last link in this example:


    Code:
     $info_box_contents[] = array('align' => 'left',
                                   'text'  => '<a href="' . tep_href_link(FILENAME_TESTPAGE1, '', 'NONSSL') . '">' . BOX_TEST_LINK1 . '</a><br>' .
                                              '<a href="' . tep_href_link(FILENAME_TESTPAGE2, '', 'NONSSL') . '">' . BOX_TEST_LINK2 . '</a><br>' .
                                              '<a href="' . tep_href_link(FILENAME_TESTPAGE3, '', 'NONSSL') . '">' . BOX_TEST_LINK3 . '</a><br>' .
                                              '<a href="http://yourlink.com">AAbox Hosting</a>'

  3. #3
    Anonymous
    Guest


    Default Thanks allot it works that way

    I was trying to place the links in the existing codes by changing the "define line" to point to the out side web page, thats why it included my web address before the forum url. Duhhhhhhhhhhhhh! LOL

    Thanks for your help....
    Now if you want to upload all 4000 products for me i would be even more greatful ...........


    RFL

    You guys are great!

Similar Threads

  1. image headers in info boxes?
    By Dragonmom in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 12-20-2006, 07:13 AM
  2. Customization of info boxes
    By islander in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 03-05-2006, 12:46 PM
  3. New pages and straight links in info block(box)
    By thedesignbase in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 01-29-2005, 07:11 AM
  4. how do I increase the width of the info boxes ?
    By twinklep in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-09-2004, 08:38 PM
  5. boxes and links help me
    By andes1 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 07-08-2004, 10:13 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
  •