Closed (fixed)
Project:
SimpleMenu
Version:
6.x-1.9
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2011 at 15:42 UTC
Updated:
9 Feb 2011 at 13:00 UTC
I have a admin account on my website. I have user permission enabled and I have gone and disabled the two permission administer and view Simplemenu. The menu is till showing
Comments
Comment #1
vip_sa commentedPlus you cannot click on a top level menu at all. You have to click on the lowest level menu. If you have a lot of modules and the menu is set to stay on top of page then you cannot see the bottom links. Is it not possible then to be able to click and open each level menu item
Comment #2
AlexisWilke commentedHi vip_sa,
I'm not too sure I follow you here... 8-)
The top level menus can be made unclickable by installing the Simplemenu Inactive Parents. Don't use that sub-module if you want to be able to click on any menu.
As for the length of a menu, yes, if it's too tall, you cannot access what's below unless you scroll the page. And that only works if you don't make use of the "Stay at the top of the screen" feature. (which seems obvious to me, but well... 8-) )
The best would be to cut the menu in two columns... but I still don't see how you do that with just CSS. Maybe with an odd/even class so we can mark the odd as left column and even as right column.
As for the menu still showing, it will always be there for UID=1 if I recall properly. It's supposed to be the administrator and thus he's supposed to see that menu. Are you saying that you have another user who still sees it?
Thank you.
Alexis
Comment #3
vip_sa commentedHi Alexis
Thank you for the response
I have not installed any sub-modules. I just cannot click on the top level menu. It changes color and it shows I can click on it but if I do nothing happens. As for the uid=1 issue I am not logged in as user 1. I am logged in as a second account holder but I have all the permission set except the two simplemenu ones and I can still see the menu.
Comment #4
AlexisWilke commentedThat sounds weird. If you look at the HTML code, can you see the <a href="..."> for those menu entries? If you only see a <li>...</li> with no anchors, then it was somehow removed. Although you just said that the mouse hover properly, so I would think it is still there.
Thank you.
Alexis Wilke
Comment #5
AlexisWilke commentedIn regard to seeing the menu if you don't have the permission, I tested, just in case, and it works right.
Are you sure you did not give the "view simplemenu" permission to all Authenticated users? If so then that's normal. I guess you said no one had any permission meaning that not even the Auth. would have it...
Just in case I tried that specific setting and it still works as expected. One potential problem is that somehow the page was cached with the menu and thus it appears from the cache.
The following is a test message you can generate by adding the drupal_set_message(). This function is defined in the simplemenu.module file. Note that all 4 things need to be TRUE for $enabled to be TRUE. And I think that the test with the $theme may not always work properly... (if the theme is setup after this call.)
user_access() is expected to return FALSE or 1. Thus when the user has permission, he should see a message saying "Access: 1, ..."
Thank you.
Alexis Wilke
Comment #6
vip_sa commentedHi Alexis
Yes you're right I have authenticated users permission set to view simplemenu and I can't change it so I'll leave it at that. I still however have the problem that I cannot click on the top level or the sub level menu item I can only click on the bottom level menu item. I mean I can only click on the lowest level menu.
Comment #7
AlexisWilke commentedvip_sa,
P.S. Changing the issue title to better reflect the problem at hand since the other issue was not actually wrong behavior. By the way, you may want to look in the Menu per Role module, you may be able to hide most everything with that other module as you would like it to be.
Now, simplemenu uses superfish. At times other modules interfere when they also make use of superfish. Especially if they "tweaked" their version.
Can you make sure that no other modules has superfish in their folder? If any does, may I ask you to list them here.
Thank you.
Alexis
Comment #8
vip_sa commentedHi Alexis
Thank you for addressing this issue so quickly. I looked and cannot find any other modules that has superfish in their folder. Maybe you know of a module that has superfish but the file is not in the root folder of the module. The list of modules I have installed are:
ad
admin_menu
adsense
advanced_help
article
autoload
backup_migrate
barcode
better_messages
captcha
cck
cck_fieldgroup_tabs
collapse_text
content_taxonomy
ctools
date
disablepwstrength
ed_classified
email
email_registration
emfield
fckeditor
filefield
flag
gallerix
gmap
guitar
hierarchical_select
htmlmail
imageapi
imagecache
imagecache_profiles
imagefield
inputstream
insert_view
invite
jquery_ui
jquery_update
lightbox2
link
location
menu_per_role
modr8
node_invite
nodeaccess
nodeformsettings
panels
poormanscron
privacy
privatemsg
profile_category_weight
profile_checkboxes
profile_privacy
quicktabs
remember_me
resizable_body
rules
rules_views
scrolltext
signup
simplemenu
simplenews
swftools
tabs
taxonomy_manager
taxonomycloud
terms_of_use
token
transliteration
ubercart
uc_setcom
uc_vcservices
unique_field
unlimited_css
user_menucallbacks
user_permissions
user_relationships
usertabs
vertical_tabs
views
views_bulk_operations
views_periodic_execution
views_slideshow
visitorinfo
weather
webform
webform_viewreference
x_contact_option
Thank you
Comment #9
AlexisWilke commentedHmmm... I don't have all of those modules, but I don't see any one that would indeed be in conflict.
Can you post a link to your site? Maybe I could see something in the HTML source code that would explain why there is a problem. Although... I guess I'll need an account too for a chance to see the menu?
Thank you.
Alexis
Comment #10
vip_sa commentedHi Alexis
You will see the top menu and under my account there are sub menus. I cannot click on the my account menu and not on the menu below that My Albums and then also not on the next one. I can only select the last one.
The only thing I did was to change some coloring in the css files so it will not change any functionality
The website address is http://www.nationalgigguide.co.za
Thank you so much for your help.
Comment #11
AlexisWilke commentedvip_sa,
Okay. As I mentioned earlier, you probably have a simplemenu sub-module installed. That looks like the work of simplemenu_inactive_parents.info which transforms the href=... in a name=... instead so you still have an anchor, but not a link.
Going to your Admin » Modules and disabling the simplemenu_inactive_parents will solve the problem.
Thank you.
Alexis Wilke
Comment #12
vip_sa commentedHi Alexis
I have to apologize for not reading the sub-modules and what they do. I thank you so very much for your help and effort. The problem is now fixed and I love this menu.
Kind regards
Corne Lombaard
Comment #13
AlexisWilke commentedMark as fixed then 8-)
No problem for the misunderstanding...
Enjoy!
Alexis
P.S. feel free to edit message #10 and remove the log in info (and delete that user.)