HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


clickable root on a dropdown menu?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#61795 (In Topic #13457)
Avatar

Fan in action

root on dropdown menus inactive

Hello!

I've set up a top-level dropdown menu using the menu manager:
  • Products
  • Support
  • About
    • Company
    • Contact

Selecting any of these will take me to the associated page, with the sole exception of the About item.  I cannot get to the About page by clicking on it; I can only get to its children (Company or Contact) by clicking on one of them.  I have to use the breadcrumb trail on either the Company or Contact page to get to the About page.

I'd like to be able to choose between either (1) clicking About takes me to the About page, or (2) clicking About defaults to one of the child pages.  I don't see a way to control this behavior in the menu manager interface or the tutorials, although it's possible I may have missed the critical piece of information.  Does anybody know how to do this?  I know it must be possible, since the hot new Admin Zone dropdowns work this way (that is, like behavior (1) above).

Thanks!
Back to the top
 
Posted
Rating:
#61804
Avatar

Hi,

I just ran a test and found the opposite problem. If there is no URL for 'About' then it reloads the current page when clicked.

Have you got an overridden MENU_BRANCH_dropdown template in your custom theme? If so, maybe it has a problem.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#61813
Avatar

Fan in action

That's actually what I meant–if there's no link for "About", it just reloads the current page and you can't get to the About page unless you go through one of its children.  The problem was that I kept entering a link for "About" in the menu manager, but the field was being auto-cleared whenever I saved changes.  So I couldn't set a link for that page, and assumed things worked that way by design.

I went back just now to try again.  This time it worked on the first attempt:  I entered the link, saved, and it took.  Not sure what I did differently, but it's working.  Maybe I got the menu manager in a weird state last night somehow.  I'll let you know if it comes up again and I can predictably reproduce it.

I'm not overriding any templates yet.

Thanks for your patience with all my newb questions!   :)
Back to the top
 
Posted
Rating:
#61820
Avatar

Hi,

Makes sense now.

I'm not sure about the wiped out page-link thing, but let me know if it's reproducible.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: