1

Topic: Want drop down menu for Registered Users

Thanks to David I am running the Registered Users Plugin he directed me to. However I'm still playing with it and by default it puts all the pages on the main menu. This creates too many menu items on the template I'm using so I want to move all the Registered Users pages to one drop down menu (child of home) called Members.

I can do this in the admin by making a new page called Members, then putting all the Registered Users pages below that. The problem is that the Members page has nothing on it, and I don't want anything on it, I just want to see all the other pages available when my mouse hovers over that Members page menu item. I tried all the menu types in the wiki but nothing worked in this case. Any suggestions much appreciated.

Thanks.

Last edited by tyee (2009-11-25 02:53)

Thumbs up

Re: Want drop down menu for Registered Users

Set status of Members page to hidden! Should work.

Wolf CMS Paper Guy
Wolf CMS related blog / journal at Project 79 | Wolf CMS Docs

3

Re: Want drop down menu for Registered Users

Tried that, it just hid the members page and all others below it so how do I access all the child pages of Members menu item??

Thumbs up

Re: Want drop down menu for Registered Users

Set members page on published and add code similar to following:

<?php

$children = $this->children();
header("Location: ".$children[0]->url());
exit();

?>
Wolf CMS founder and lead developer
Please always check the Support forums and Wiki before asking. (My Ohloh account.)
Like Wolf CMS? Consider making a financial contribution.

5

Re: Want drop down menu for Registered Users

Thanks mvdkleijn, just tried it and I get "You are already loggin in" when I click "Members" page menu item. No drop down menu child pages show.

So I logged out and refreshed the page and now I get the registration page showing which is the first child page of "Members" page.

I hope I'm not making this too complicated. Basically I just want a drop down menu for any site I would build, it really has nothing to do with Registered Users Plugin, I was using that because that's what I'm working with right now.

So generally how do you show child pages of a page in a drop down menu, that's it in a nutshell.

Last edited by tyee (2009-11-27 23:45)

Thumbs up

6

Re: Want drop down menu for Registered Users

tyee wrote:

So generally how do you show child pages of a page in a drop down menu, that's it in a nutshell.

If it's just a drop-down you're after (and the registered users plug is not the issue!), then you could try oweb's version of Suckerfish. (Note the "English" option on the upper-right if your French is rusty. wink )

I use this happily on a site, and it works for me. That might not be quite the "drop-down" you're after, though -- if not, do come back, perhaps with an example of what you're looking for?

Hope that helps!

Last edited by David (2009-11-29 13:26)