Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ADD Link in the Information Box


braveand

Recommended Posts

Hi,

I want to add "About Us" and other links in the Information Box (left column like in the default style).

 

I tried but I miss something 'cause from the search box on, just before the information one, all the site is disapper!

 

PLEASE HELP ME! :'(

 

That's the step I made for insert about_us.php:

--------------------------------------------------------------------------------

about_us.php

in \catalog\includes\languages

 

define('BOX_INFORMATION_ABOUT_US', 'About Us');

in catalog\includes\languages

 

define('FILENAME_ABOUT_US', 'about_us.php');

in catalog\includes

 

'<a href="' . tep_href_link(FILENAME_ABOUT_US) . '"> . BOX_INFORMATION_ABOUT_US . '</a>);

in catalog\includes\boxes (added in the end of the others links strings)

 

Thanks in advance to everyone!

:(

Link to comment
Share on other sites

errata corrige:

 

That's the step I made for insert about_us.php:

--------------------------------------------------------------------------------

about_us.php

in \catalog\includes\languages

 

define('BOX_INFORMATION_ABOUT_US', 'About Us');

in catalog\includes\languages\english.php

 

define('FILENAME_ABOUT_US', 'about_us.php');

in catalog\includes\filename.php

 

'<a href="' . tep_href_link(FILENAME_ABOUT_US) . '"> . BOX_INFORMATION_ABOUT_US . '</a>);

in catalog\includes\boxes\information.php (added in the end of the others links strings)

 

:blush:

Link to comment
Share on other sites

There is a very good set of instructions in the knowledge base for adding a page with a link in the infobox. I would check it out and see what step you have missed or where your mistake is, you can find the instructions HERE

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

errata corrige:

 

That's the step I made for insert about_us.php:

--------------------------------------------------------------------------------

about_us.php

in \catalog\includes\languages

 

define('BOX_INFORMATION_ABOUT_US', 'About Us');

in catalog\includes\languages\english.php

 

define('FILENAME_ABOUT_US', 'about_us.php');

in catalog\includes\filename.php

 

'<a href="' . tep_href_link(FILENAME_ABOUT_US) . '"> . BOX_INFORMATION_ABOUT_US . '</a>);

in catalog\includes\boxes\information.php (added in the end of the others links strings)

 

:blush:

That's not the code I was talking about Andrea. Post the code for the information.php file. If you didn't insert the line properly, you will have the kind of problem you are having.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...