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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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 |
| 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 |
| Internal Jumps in a information page | zododo | osCMax v1.7 Discussion | 0 | 08-18-2005 04:40 PM |
| MoPics External Images | hrhstephen | osCMax v2 Customization/Mods | 2 | 07-30-2005 04:04 AM |
| adding url link to external page from information box | fuzzyphil | osCommerce 2.2 Modification Help | 2 | 05-21-2005 03:55 PM |
| External DB authentication | dgammon | osCommerce 2.2 Modification Help | 1 | 06-06-2003 09:34 AM |