osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-29-2004, 08:42 AM
Lurker
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
silkenstrand
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-31-2004, 08:49 PM
New Member
 
Join Date: Jul 2004
Location: a mountaintop in Florida
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gravenimage
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-02-2004, 06:23 AM
Lurker
 
Join Date: Jul 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
silkenstrand
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 06:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax