Page 1 of 1

Is this possible? (Menu Manager Question)

Posted: Mon Aug 07, 2006 11:05 am
by tmhai
Hi, I'm trying to get this code to print out with the Menu Manager in CMS 0.13:

Code: Select all

      <ul class="sideMenu">
        <li class="here">About Template
          <ul>
            <li><a href="#fluidity">Dynamic Template</a></li>
            <li><a href="#coding">Coding</a>
              <ul>
                <li><a href="#expressions">Redability using Maximum Width</a></li>
              </ul>
            </li>
            <li><a href="#customize">Fluid Columns</a>
              <ul>
                <li><a href="#gradients">Gradients</a></li>
              </ul>
            </li>
            <li><a href="#padding">Alignment</a>
              <ul>
                <li><a href="#images">Images</a></li>
                <li><a href="#floating">Floating</a></li>
              </ul>
            </li>
            <li><a href="#width">Template Width</a></li>
            <li><a href="#tags">Template Tags</a></li>
            <li><a href="#widthDemo">Column Width Demo</a></li>
            <li><a href="#todo"><strong>To-Do List</strong></a></li>
          </ul>
        </li>
        <li><a href="http://whats-up.uni.cc" title="Goto Bobby's Website">Bobby's Website</a></li>
        <li><a href="http://40hrfamine.uni.cc" title="Goto 40 Hour Famine">World Vision 40 Hour Famine</a></li>
      </ul>
Is this possible and how can I do this?

The code is somewhat overwhelming and some of the tags in the Menu Manager help section are not documented.

Re: Is this possible? (Menu Manager Question)

Posted: Mon Aug 07, 2006 12:07 pm
by tmhai
Sorry, the problem is a little more complicated than what I mentioned above.

I have a menu structure like so:

Code: Select all

1. - Home
2. - About Me
2.1 - Stuff
2.2 - People
2.2.1 - Family
3. - Contact Me
4. - About Me2
4.1 - Stuff2
4.2 - People2
4.2.1 - Family2
For this sideMenu I want the following parts of the navigation above to show, if I say, clicked on About Me:

Code: Select all

About Me
- Stuff
- People
-- Family
What I want CMSMS to do is display the name of the first level link (About Me), then in a bulleted list, display the links underneath that level (Stuff, People, Family etc.). This is what the HTML should look like:

Code: Select all

<ul class="sideMenu">
        <li class="here">About Me
          <ul>
            <li><a href="linktopage">Stuff</a></li>
            <li><a href="linktopage">People</a>
              <ul>
                <li><a href="linktopage">Family</a></li>
              </ul>
            </li>
          </ul>
        </li>
      </ul>
But if I am to use start_element='2' that would not work if I went to About Me2, so I need some sort of flexible code.

Hopefully I detailed enough.

Re: Is this possible? (Menu Manager Question)

Posted: Tue Aug 08, 2006 11:13 pm
by tmhai
It still wouldnt display About Me or About Me2, but it shows the children fine.

Re: Is this possible? (Menu Manager Question)

Posted: Mon Aug 14, 2006 3:03 pm
by Teddy
Hi!

Maybe this can help?

http://forum.cmsmadesimple.org/index.ph ... 209.0.html

Good luck!

Ted