3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 776 Views |
-
Second Navigation with Translations?

6 August 2010 at 6:09am
Hey there!
I need some help with a second menu. For my new project, I need a second navigation bar with some special pages like "about", "jobs" or whatever. Until now, I always made the ul static within the template so that it wasn't controlled by the system. Then I unchecked the "show up in menus" button in the backend. Actually I need translations now, so the title of the links need to change between German and English. The static method doesn't work for that because I can't get the page titles out of the database based on the current selected language.
These pages aren't children of the others so a normal "SecondLevelNavigation" isn't needed. Is it possible to do what I need? (Second Root Page on my SiteTree or someting like that?).Greetz
Oliver -
Re: Second Navigation with Translations?

8 August 2010 at 1:10am
I solved the problem by using the trunk build of the CustomMenus Module. It didn't work for the first time I installed it, I had to write the titles of the backend-tabs into the code (they were missing before) so it didn't show up correctly.
-
Re: Second Navigation with Translations?

18 August 2010 at 1:16am
Because the Custom-Menus Module seems to make more and more problems when switching the language on a page I decided to change my top-menu within the code. To do so, I'm checking the current language with
<% if Locale = de_DE %>
and changing the HTML code within the if-clause.
| 776 Views | ||
|
Page:
1
|
Go to Top |
