Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A new link


Onstar

Recommended Posts

I want to add a "help" text or image on top, possibly somewhere on the logo area. I understand I will probably add the page in the information box. How do accomplish the task of placing this link or image and linking that to the page created in the information box?

 

Gosh! I am so weak with this php stuff. I really need to learn it.

 

Please help!

 

Thanks

Link to comment
Share on other sites

To add a link "around the logo" you will need to edit:

 

shop/includes/header.php

 

Edit the code around Line 67 of header.php to add another text link

 

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

 

Adding the link to the "Information box" requires editing:

 

shop/includes/boxes/information.php

 

Around Line 27 add another line like this

 

 

'<a href="' . tep_href_link('YourFileName.php") . '">' . 'YourLinkText'. '</a>');

 

Where 'YourFileName.php' and 'YourLinkText' are within single quotes

 

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

 

Then Create the new page to be loaded - usually based on existing page

Link to comment
Share on other sites

To add a link "around the logo" you will need to edit:

 

shop/includes/header.php

 

Edit the code around Line 67 of header.php to add another text link

 

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

 

Adding the link to the "Information box" requires editing:

 

shop/includes/boxes/information.php

 

Around Line 27 add another line like this

 

 

'<a href="' . tep_href_link('YourFileName.php") . '">' . 'YourLinkText'. '</a>');

 

Where 'YourFileName.php' and 'YourLinkText' are within single quotes

 

 

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

 

Then Create the new page to be loaded - usually based on existing page

 

 

 

I think that will help. Thanks a million times. I will tell you how that turned out. Thanks again.

Edited by Onstar
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...