Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function: multi-level navigation. / Plugin for version 2!
#68
I'm afraid I assumed that those red herring error messages were the cause of my actual problem, which is that the HTML stops parsing once it hits the ul#nav element:

Code:
<body id="index">
    <div id="wrapper">
        <div id="header">
            <ul id="nav">
            </ul>
        </div>
    </div>
</body>

What do you suppose I've missed?

Cardinal is set as the active theme. The multilevel plugin is in admin/plugins and the function call is in Cardinal's template.php, here:

Code:
<ul id="nav">
            <?php menu_master(); ?>
</ul>

Very unlikely, but perhaps it's how I've set up the pages in the admin interface. If not, it would still be nice to know how to set this up correctly (the conversation above is a little confusing since the code was still being ironed out). So here's an example.

I created an "About" page / menu item and two subpages / submenu items, About 1 and About 2. The current settings are below. I've tried changing the parent page of About to index, and I've tried assigning a priority levels to each.

Welcome to GetSimple!
  • slug/URL: index
  • parent page: --None--
  • template: -- Default Template --
  • add to menu: yes
  • menu text: Home
  • priority: 20

About
  • slug/URL: about
  • parent page: --None--
  • template: -- Default Template --
  • add to menu: yes
  • menu text: About
  • priority: 19

About 1
  • slug/URL: about1
  • parent page: about
  • template: -- Default Template --
  • add to menu: yes
  • menu text: About 1
  • priority: -

About 2
  • slug/URL: about2
  • parent page: about
  • template: -- Default Template --
  • add to menu: yes
  • menu text: About 2
  • priority: -

I'm sorry if I missed this in another post.

Any help would be greatly appreciated.

Jeff
Reply


Messages In This Thread
Function: multi-level navigation. / Plugin for version 2! - by Jeff - 2010-02-28, 07:50:40



Users browsing this thread: 1 Guest(s)