Page 1 of 1

Help with a simple menu [solved]

Posted: Fri Feb 23, 2007 7:40 pm
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