Help with a simple menu [solved]

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
niedermayer
Forum Members
Forum Members
Posts: 11
Joined: Thu Feb 15, 2007 10:20 am

Help with a simple menu [solved]

Post by niedermayer »

Hi,

I'm trying to port the Blix theme from Wordpress to CMSMS, but the menu is causing some problems. The menu I want is very simple, only 2 levels with sectionheader and links to content below it. The structure is simple (don't know if pseudo is correct):

Code: Select all

for every node
if section header
  menutext
if node is content
  start list
         list items
  end list
if node is links
  start list
         list links
  end links
The menu should look like this in html

Code: Select all

<h2><em>SecHeader</em></h2>
<ul class="pages">
  <li class="pageitem">menutext</li>
  ....
</ul>
<h2><em>SecHeader</em></h2>
<ul class="links">
  <li><a href>link</a><li>
  ... 
</ul>
Tried modifiying other menus, but I find them a bit difficult. Any help or tips appreciated.

edit: there can of course be several sectionheaders with differnet content.

solution: modified minimal_menu.tpl
Last edited by niedermayer on Fri Feb 23, 2007 11:15 pm, edited 1 time in total.
Post Reply

Return to “Layout and Design (CSS & HTML)”