Dear Madam / Sir,
"Professional Theme" is - in my opinion - still the best responsive theme out there. And I'm always amazed how such a complex structure can be set up and made to perform as planned - considering how long it takes me to get rather simple custom modules running.
Alas, I wasn't able to deactivate the "Main menu" and the "Secondary menu" on the
UI path
"appearance/settings/professional_theme"
under the heading
"Toggle display; Enable or disable the display of certain page elements."
Whether I check or uncheck the boxes in front of "Main menu" and / or "Secondary menu" doesn't change a thing. These menus stay visible.
And yes, I cleared the Drupal cache two times before returning to the homepage - I even ran cron two times.
Is there a workaround?
And another question:
Which block or region is occupied by the main and secondary menu in Professional Theme?
Best regards (this time without my real name ...),
CatsAreNice
Comments
Comment #1
mheinke commentedhi :)
thank you for the kind words about the theme, i am working hard to maintain and progress this theme. :)
as for your questions:
1) the menu is so baked into the theme that it would cause many issues to hide it.
----> what are you looking to do, whats the end goal or the reason why you want to disable the menu?
2) the menu is hardcoded into the template not in a block region.
Comment #2
mheinke commentedComment #3
CatsAreNice commentedDear mheinke,
concerning your question
"what are you looking to do, whats the end goal or the reason why you want to disable the menu?"
at comment #1 item 1), I want to hint at the following issues:
(i) http://drupal.org/node/1978172 "Menu behavior inconsistent" (Professional Theme)
(ii) http://drupal.org/node/1978732 "Mobile Menu: Toggle visibility of menu subitems" (Bamboo)
I think these two themes are the best responsive allrounder themes to date for Drupal 7. (Yes, I know there's
always OMEGA, but I once worked with it and - I agree it's really great - I had to so much theming that I almost
got lost in all the CSS stuff.)
But both themes have small deficiencies in their menu behavior, Professional Theme a little less than Bamboo.
Bamboo has nicer colors, Professional Theme the slide show. So Professional Theme leads a hair's breadth in
this neck-and-neck contest.
That's why I thought of exchanging the Professional Theme menu for the module Superfish version 1.9-rc1,
which supports a mobile menu view by converting the menu into a selectbox. There are also issues but at
least a selectbox should work on any mobile device.
Nevertheless I do prefer the look of the mobile menu of Professional Theme. And that's what makes it hard to decide
what to do. I'm desperate enough to tinker myself with JavaScript to alter the behavior of the Professional Theme menu
but I also know that if I'm not tremendously lucky, I shall fail in an epic way.
But I keep on trying.
Best regards,
CatsAreNice
Comment #4
mheinke commentedthis leads me to an interesting idea....
im not sure how i would do this yet.
but if the theme could detect superfish (probably an admin setting...use superfish instead) we could have it disable the 'core' menu and use superfish.....
hmmmm :)
Comment #5
danny englanderIn Bamboo, I use if / then logic to give the user an option to use their own menu system.
see:
http://drupalcode.org/project/bamboo.git/blob/HEAD:/template.php (around line 189)
http://drupalcode.org/project/bamboo.git/blob/HEAD:/templates/page.tpl.php (around line 104).
Essentially if the user unchecks "main menu" in the theme settings page, they are then free to use a third party menu system like the Superfish module which can be set to the same region.
Comment #6
mheinke commented@highrockmedia
thanks!!
Comment #7
mheinke commentedgoing to add this to the list of "todos" for the next release
Comment #8
mheinke commentedI figured this out,
and it will be in the next release which is about...a few hours away!
thank you to @highrockmedia for giving me some direction.
Comment #9
mheinke commentedversion 1.8 has a solution for this
Comment #10
mheinke commented