Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contrib Horizontal_Menu_V3


soundjam

Recommended Posts

Good morning,

I am new to this whole OS commerce and php scripting. But, if you could help that would be great.

I am using the contribution: Horizontal_Menu_V3

and I would like to be able for send the user to another part of my website.

The top line is original and works within OSC.

 

<li><?php echo '<a href="' . tep_href_link(FILENAME_CONTACT_US, '') . '">' . "<span>" . ('Contact us') . '</a></span>'; ?></li>

 

<li><?php echo '<a href="' . tep_href_link('location: http://www.mywebsite.ca/home', '') . '">' . "<span>" . ('Contact us') . '</a></span>'; ?></li>

The above line sends me to this link:

http://mywebsite.ca/catalog/location:%20ht...website.ca/home

 

<li><?php echo '<a href="' . tep_href_link('http://www.mywebsite.ca/home', '') . '">' . "<span>" . ('Contact us') . '</a></span>'; ?></li>

and this above line sends me to this link:

http://mywebsite.ca/catalog/http://www.mywebsite.ca/home

 

As you can probably tell above, I am trying to send the user to www.mywebsite.ca/home

Any thoughts,

Greatly apreciated,

Brian

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.

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