Wednesday 14 July 2010 6:51:10 am
OK, solved. I am sure there may be a more elegant way to do this, but I got it working this way: As I said, I copied the code from the languages template into the double top menu template, between the closing ul for the first line and the closing div. I put the code into a ul with the id "topmenu-language". Next I copied all CSS settings regarding "topmenu-firstlevel" into my override CSS, renaming "firstlevel" to "language" and added a "float:right" to "div#topmenu ul#topmenu-language li", because I wanted the regular menu items on the left, while language links should be on the right. In the same section I changed the separator image setting from left bottom to right bottom and copied the separator and selected link background image to the override image folder. To highlight the selected language, I changed "li.selected" in these sections to "li.current_siteaccess". Unfortunately the language code does not know "firstli" to designate the first link (though that probably could be done), so there is a separator line on the right edge, but I can live with that. Maybe this helps someone to break the "typical ezP layout" that sometimes gets mentioned here on the forums. And if someone has a better solution, don't be shy...
|