ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

dynamic sub menu/page creation

September 25, 2007 4:57pm

Subscribe [4]
  • #1 / Sep 25, 2007 4:57pm

    skydog

    9 posts

    I am looking to build a 2-3 tier hierarchial(sp?)nav system that will allow my client to create a page and then associate a new submenu link with it. Basically I want to put that kind of usability and functionality in there hand to where, with relative ease, can create a new link which would reside under a main nav link and have content associated with that. If there are some tuts, modules, extensions, etc out there that can assist with this I would appreciate learning more. The sum total of pages on this at the moment will be around 15 so not real large. Developmentally speaking I would prefer something relatively ‘easy’ to put together as I am a little programming challenged.

    Thanks

  • #2 / Sep 25, 2007 5:18pm

    grantmx

    1439 posts

    Skydog.  I am getting ready to work on a similar problem.  What I was going to do was use the Category and sub category and category archive weblog feature to create the drop down lists.  This is what I was thinking in theory:

    Define my unordered list and add the EE category tag as such…

    <ul>
        {exp:weblog:category_archive weblog="whatever" dynamic="off" style="nested"}
        <li>{categories}<a href="http://{path=site/categories}">{category_name}</a>{/categories}
            <ul>
            {entry_titles}
               <li><a href="http://{path=SITE_INDEX}">{title}</a></li>
            {/entry_titles}
            </ul>           
        </li>
        {exp:weblog:category_archive}
    </ul>

    But like I said its a theory of mine that I haven’t tried yet.

  • #3 / Sep 25, 2007 6:39pm

    Boyink!

    5011 posts

  • #4 / Sep 25, 2007 6:42pm

    skydog

    9 posts

    most likely 3 - main menu + 2 subs

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases