Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

linking problems from Information Box


Guest

Recommended Posts

I apologise for posting twice on the same subject, screwed up big time first time around.

I am trying to add a link to my Information box in osC, My attempts only end up as errors

 

Link connects to error page 404. I'm Using OSC 2.2 MP with a working STS template

 

The following new file join.php is added to: /includes/boxes/information.php Like This

 

'<a href="' . tep_href_link(FILENAME_JOIN) . '">' . BOX_INFORMATION_JOIN . '</a><br>' .

 

This is not the final line it is enclosed by the original program lines.

 

the following new file is added to: english/english.php Like This

 

define('BOX_INFORMATION_ABOUT', 'Join');

 

I used the original shipping.php as a template for join.php the page I'm trying to reach; only changed title to "join" (join.php)

 

Good Address Line: This shows on the address line for the original shipping link

/ushop4/nfoscomm/catalog/shipping.php?osCsid=3bd18d4eda61fxxxxxxxxxxx35ab

 

BAD Addres Line: This is what I get when I use it with my new link

 

/ushop4/nfoscomm/catalog/FILENAME_JOIN?osCsid=3bd18dxxxxf0fc2541f41dxxxxxxxxb

 

The working shipping.php file is in two folders /english and catalog: If it is removed from either an error 404 page comes up

Link to comment
Share on other sites

I apologise for posting twice on the same subject, screwed up big time first time around.

I am trying to add a link to my Information box in osC, My attempts only end up as errors

 

Link connects to error page 404. I'm Using OSC 2.2 MP with a working STS template

 

The following new file join.php is added to: /includes/boxes/information.php Like This

 

'<a href="' . tep_href_link(FILENAME_JOIN) . '">' . BOX_INFORMATION_JOIN . '</a><br>' .

 

This is not the final line it is enclosed by the original program lines.

 

the following new file is added to: english/english.php Like This

 

define('BOX_INFORMATION_ABOUT', 'Join');

 

I used the original shipping.php as a template for join.php the page I'm trying to reach; only changed title to "join" (join.php)

 

Good Address Line: This shows on the address line for the original shipping link

/ushop4/nfoscomm/catalog/shipping.php?osCsid=3bd18d4eda61fxxxxxxxxxxx35ab

 

BAD Addres Line: This is what I get when I use it with my new link

 

/ushop4/nfoscomm/catalog/FILENAME_JOIN?osCsid=3bd18dxxxxf0fc2541f41dxxxxxxxxb

 

The working shipping.php file is in two folders /english and catalog: If it is removed from either an error 404 page comes up

 

What does your definition for FILENAME_JOIN look like?

 

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Link to comment
Share on other sites

What does your definition for FILENAME_JOIN look like?

 

Tina

 

I sure hope this line is what you are asking for, if not please tell me where to find the one you want to see. Thanks for the reply.

 

define('BOX_INFORMATION_JOIN', 'Hobbyist can Join');

 

Jim

Link to comment
Share on other sites

I sure hope this line is what you are asking for, if not please tell me where to find the one you want to see. Thanks for the reply.

 

define('BOX_INFORMATION_JOIN', 'Hobbyist can Join');

 

Jim

Link to comment
Share on other sites

I sure hope this line is what you are asking for, if not please tell me where to find the one you want to see. Thanks for the reply.

 

define('BOX_INFORMATION_JOIN', 'Hobbyist can Join');

 

Jim

 

Actually what I meant was in your filenames.php file, you should have a definition for FILENAME_JOIN. What does that look like?

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Link to comment
Share on other sites

Actually what I meant was in your filenames.php file, you should have a definition for FILENAME_JOIN. What does that look like?

 

Be well,

Tina

 

Thanks for Help Tina

 

This is from filenames.php

 

 

define('FILENAME_JOIN', 'join.php');

Link to comment
Share on other sites

Thanks for Help Tina

 

I Finally got the link cleared of FileName_Join that problem is solved. I'm on my way to the next one, I would like to clear the month from the "New Products for December" line and replace with my own text, can you advise where to look, I want the box to stay with my text in it.

 

Can you or any member suggest the best OSCommerce manual for one experienced in HTML, but not CSS or style sheets or Pearl to use. Hope this isn't an inappropriate use of this forum.

 

Thanks Again

 

Jim

Link to comment
Share on other sites

In your includes/languages/english/index.php file look for

 

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

In your includes/languages/english/index.php file look for

 

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

 

 

Thank You that worked great. I am thinking of purchasing a os manual any advise.

 

Jim

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...