Developer forum

Forum » Templates » Language/Area menu?

Language/Area menu?


Reply

Is it possible to create a dynamic menu that contains the different languages/areas in the solution?

 

For example:

If I have two or more languages/areas on my website (danish, english, german and so on) I would like to have a menu in the top, so the user can easily switch between languages/areas. Is it possible to dynamically create such a menu?


Replies

 
Reply

Hi Steffen

 

The only way to do this with standard functionality is to create a static xml/xslt menu where the pages links to /?AreaID=1 and so on.

 

But this requires you to have a page template for each language layer where you have defined the menu for each layer.

 

But ... if you have the database publishing module, you could publish date from the Area table in the Dynamic.mdb.  These data you can then output on a paragraph which then can be published as a global paragraph @Global:Paragraph.Content(paragrahpid)

 

// Sebastian

 

You must be logged in to post in the forum