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

Internal/External Links in Information Box

This is a discussion on Internal/External Links in Information Box within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Can someone tell me why my links aren't pointing to the right place? The pages are in place and my ...

      
  1. #1
    Lurker
    Join Date
    Jul 2004
    Posts
    3
    Rep Power
    0


    Default Internal/External Links in Information Box

    Can someone tell me why my links aren't pointing to the right place? The pages are in place and my code matches the working code osCommerce has.


    My code on english.php
    define('BOX_INFORMATION_LINKS', 'Links');

    Their code on english.php
    define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');

    My code on information.php
    '<a href="' . tep_href_link(FILENAME_LINKS) . '">' . BOX_INFORMATION_LINKS . '</a><br>' .

    Their code on information.php
    '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

    My code on filenames
    define('FILENAME_LINKS', 'http://www.silkenstrand.com/links.htm');
    to go to the root

    or

    define('FILENAME_LINKS', 'links.php'); to go to the catalog folder where their files are placed in
    (yes, I saved and tested both types in both places to see if it was an extension error)

    Their code on filenames
    define('FILENAME_PRIVACY', 'privacy.php');

    All of the code looks the same to me. The files are in the correct locations and spelled correctly, etc. I just can't figure out why it isn't working.

    The links are pointing to http://www.silkenstrand.com/secure/w...sign_links.php if it's a page under the catalog.

    If it's a page outside the catalog folder the links are pointing to
    http://www.silkenstrand.com/website-design-links.htm

    That's an example of 1 out of 10 links I'm trying to build and none of them are working properly.


    Thanks,

    Tina

  2. #2
    New Member
    Join Date
    Jul 2004
    Location
    a mountaintop in Florida
    Posts
    22
    Rep Power
    0


    Default

    I checked your site and saw that the links from your catalog (in the /secure directory) go first to the PHP page and then are quickly forwarded to the corresponding HTM page in the root directory. I'm guessing you have a META REFRESH in the HTML of those PHP files. If I understand you correctly, you *don't* want the pages to forward to the .HTM files in the root folder?

  3. #3
    Lurker
    Join Date
    Jul 2004
    Posts
    3
    Rep Power
    0


    Default

    No, I used the auto forward in hopes (I'm no programmer, so bear with my logic please) that the problem was simply that I had to send to a PHP page. I want the pages to go to the HTM root directory pages. At this point I have simply deleted the Information Box altogether and am tying it directly to the pages. It's an okay work around but doesn't give me exactly what I was looking for.

    Thanks,

    Tina

Similar Threads

  1. Link to an external page
    By jcomputers in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 07-27-2006, 06:07 PM
  2. Internal Jumps in a information page
    By zododo in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 08-18-2005, 04:40 PM
  3. MoPics External Images
    By hrhstephen in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 07-30-2005, 04:04 AM
  4. adding url link to external page from information box
    By fuzzyphil in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 05-21-2005, 03:55 PM
  5. External DB authentication
    By dgammon in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 06-06-2003, 09:34 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
  •