Jump to content

[SOLVED] Customised Header Menu


Recommended Posts

Hi,

I'm making a template and am wondering how to make a custom multi-lingual header menu? Something like:

Home | New Products | Special Offers | Top Products | Contact Us

I've done all the css and templating, but can't figure out how to make it handle multiple languages. Have I got to create a module? (seems damn tough to do!), do some database entries? Or is there some simple way of handling this?

Please let me know :-)

Link to comment
Share on other sites

There are 2 ways for you to do this
1. To add a top horizontal menu, this is the easiest way, you can find a lot of top menus, and:
2. Add a script into the header, but this means that if you want to add in future some items in the header, you can only do it from header.tpl. I can give you some scripts for this, but only in a few hours, now i am at work

Link to comment
Share on other sites

You just need to write code like the following in your header.tpl or wherever you have put the menu code in your theme:

{l s='Home'}



This will add the text 'Home' and make it translatable under Tools > Translations > Front Office translations.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...