First, this is an awesome theme. Really great work. Thank you.
Now, here is the problem I am encountering. I had enabled the top navigation section with icons for the role called "webmaster" on my website. I did this by:
- Going in to the theme settings for RootCandy.
- expanding the "navigation" section
- making sure "disable icons for navigation" was not checked
- setting the icon size to 32
- setting the dropdown by "webmaster" to "default navigation"
- saving the changes
The navigation icons were appearing at the top of the page just fine.
Latter, I renamed the "webmaster" role to "superadmin". The icons still appeared just fine for user #1. However, for any other user in the "superadmin" role, the icons no longer appeared. I double-checked the theme settings, and it was picking up the role name change. The dropdown by the "superadmin" role was set to "default navigation".
My site does have the option to use the admin theme enabled, because RootCandy is appearing for administrative tasks, its just the icons along the top of the page are not for users of the role "superadmin" that are not user #1. I have also tried clearing the Drupal cache, and my web browser's cache and cookies. I have even tried setting the "superadmin" role to use the primary links menu in the navigation section of the theme settings. It doesn't show anything, and I know I have primary links set. Same happens if I set it to "navigation".
My best guess is that RootCandy is not picking up on the role name change. Any idea how to get the icons at the top of the screen back?
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#18 | root-candy.jpg | 42.39 KB | divbox |
#13 | menu-item.jpg | 62.49 KB | Danny_Joris |
#7 | 569568_rootcandy_top_navigation.patch | 5.1 KB | sign |
Comments
Comment #1
Danny_Joris CreditAttribution: Danny_Joris commentedI have the same issue, but even without the role name changing. I have no problems with User-1, but I don't see the top navigation when I login with a user with another (editor) role.
I tried it with a role called 'site-administrator' which has all the permissions enabled that are available and the icons still didn't show up.
Comment #2
sign CreditAttribution: sign commentedSwamped with work at the moment :(
Will try to have a look later today but can't guarantee,
if anyone else can check I will be very grateful
Comment #3
Scientifik CreditAttribution: Scientifik commentedI've been getting this as well. Also it seems like other things disappear like when you select "Menus" it just lists the menus but the bar to add/edit etc is gone.
Comment #4
rimu CreditAttribution: rimu commentedYeah me too. My User-1 user can see the buttons across the top, but other users with access to parts of the admin area cannot see any buttons.
This is in both the latest official release and the dev release
Comment #5
sign CreditAttribution: sign commentedwas anyone of you upgrading?
Comment #6
sign CreditAttribution: sign commentedok I can replicate that... :s
still investigating
Comment #7
sign CreditAttribution: sign commentedok, so I have found the problem, attached is the patch if anyone wants to try against theirs v1.2 (which would be great if you can test it and report back)
and committed to dev version
thanks for reporting and please review and test thank you
Comment #8
Danny_Joris CreditAttribution: Danny_Joris commentedI tried the dev version and no changes. Maybe I updated wrong. I just threw the old rootcandy out and put the new one in. But I guess that's the way to do it with themes, isn't it.
Comment #9
sign CreditAttribution: sign commented@Danny_Joris if you visit theme settings, and expand the Menu by role, can you see all your user roles including authenticated user + anonymous user?
Comment #10
Danny_Joris CreditAttribution: Danny_Joris commentedOh, is that new? Yes I see it and it works! Thanks very much!
Maybe an idea: Is it possible to give the Top Navigation menu different classes? For example if one of the menu items is empty because the user doesn't have permissions related to this, then maybe we could tuck that item away with css. Or only the basic ones, because I guess the items are generated and it might be difficult to give them custom classes.
Anyway, looks great already.
Thanks again.
Danny
Comment #11
sign CreditAttribution: sign commentedJust committed one line to dev version which adds class to top menu list so it can look like:
btw, not sure why would you want to hide one menu item, can you explain please? if the user doesnt have access to it, it won't show up.
Comment #12
sign CreditAttribution: sign commentedJust re-read your post, when they dont have access to it, does it show an empty
<li></li>
?Comment #13
Danny_Joris CreditAttribution: Danny_Joris commentedHey Sign,
I have this test user that does not have any permissions for User-Management. The reason why classes would come in handy is to remove that button that is still there. (see attachment)
btw: if you add something to the dev, can I already download that version or do I have to wait a few hours?
Thanks!
Comment #14
sign CreditAttribution: sign commentedah I see, well, probably it will be best to create your own custom menu for that user role?
it is simple, create a new menu, add menu items you would like to have there for that user, it can be any path in drupal, and then in theme settings, assign that menu to the user role of that user, thats how I would do it actually :)
re dev: you have to wait few hours or you can check it out from cvs, there are cvs instructions on rootcandy project page ( or follow this link: http://drupal.org/node/210180/cvs-instructions/DRUPAL-6--1 )
let me know if custom menu per user role will solve what you want to achieve
Comment #15
sign CreditAttribution: sign commentedmarking this as fixed, reviewed and tested on clean install, even on upgrade
should be ok now
Comment #17
ExTexan CreditAttribution: ExTexan commentedI have an additional admin user set up (with all appropriate permissions), but I don't see the top nav section in RootCandy Dark (5.x-1.3). As far as I can tell, my code has all the + stuff in the patch referenced in this thread, but it's not showing for me.
In the theme settings page, when I expand Menu by role, it shows my "administrator" role - which I have set to use "default navigation".
Anything else I need to do/check?
Comment #18
divbox CreditAttribution: divbox commentedI had the same problem w/ icons not showing up. I had a 3 extra roles besides authenticated and anonymous. Thought that this was the problem, so I removed user from all by one, and still no icons.
I then set the additional "admin" role I created to # 1 in the order in the "Menu by role and weights" section, so that my admin role was # 1, above anonymous and authenticated. Once I did this the icons showed up. I've attached a screen shot showing my settings.
I am using the newest release (not -dev).
Thanks for a great admin theme btw. It's awesome. Great work!!
Comment #19
fossie CreditAttribution: fossie commentedI can confirm that you have to put the role in the section above the authenticated role, otherwise their are no icons shown.
HTH,
Fossie
Comment #20
drupalprojects CreditAttribution: drupalprojects commentedAgree with #19 commenter, placing role above authenticated role was the solution.