Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi

I've noticed that many sites include a general horizontal menu in the site header. I've tried 'googling' and searching the contributions but haven't managed to figure out how it's done yet. Could someone point me in the right direction please on how to achieve this?

 

I've just picked a few example sites at random

http://www.softforest.com/

http://www.silkorigins.com/

 

This is quite a good example:

http://www.4seasongreenhouse.com/

 

 

This one has image maps

 

http://www.innoconcepts.com/

 

Thanks in advance

 

Martin

Posted

The Easy Menu or Cool Menu contributions will do that for you. Or you can use an html editor to create the code and copy to your shop, though you will have to edit the links to pages so they are oscommerce friendly.

 

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

Posted

Thanks for that Jack. I'll check out the contributions that you've suggested and try out the HTML route too. I think it's the 'oscommerce friendly' links that I'll have trouble with, but that's helped.

Cheers

martin

Posted

Hi Jack

I really appreciate your help. Can I just run my understanding of this by you in it's simplest form. Is this the example that you're referring to?:

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?>

 

and then for instance if if create a new page called 'page1.php' I could add a piece of code like this:

<?php echo '<a href="' . tep_href_link(FILENAME_PAGE1) . '">' . tep_image(DIR_WS_IMAGES . 'page1.gif', 'page1') . '</a>'; ?>

 

and then in filenames.php add this:

define('FILENAME_PAGE1', 'page1.php');

 

Would that work assuming I had a page1.gif image??

 

Thanks

 

Martin

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