Access control presets

imp7 - January 28, 2009 - 06:10
Project:Navigate
Version:5.x-1.0-beta2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello I am very impressed with the terrific interface you have created,I find it very intuitive and I wish users could also benefit from it.

I am interested if you have ever thought about allowing 'presets' or 'themes' with definable preset widgets that can be accessed by a particular user role. This way each user can customize their own presets and favorite lists so every member of the site can utilize navigate not just the admins. This would eventually turn Navigate into a widget based 'navigation platform' with php snippets that could be like sub modules from the community.

I hope you are able to keep up the great work, this is my favorite menu system for drupal by far.

#1

chrisshattuck - February 1, 2009 - 00:49

I have thought of this, and was in the middle of implementing it when life sucked all my free time away. ;)

Basically, the way this would work would be that when a user loads Navigate for the first time, it will check for an empty widget set and load a set of pre-configured widgets based on role.

I'd like to also add 'global' widgets which are shared between users, but the current structure of Navigate doesn't allow that kind of thing yet. I foolishly thought I should fully cache the widget structure each time it changed to make it really lightweight, but it means then that the widgets are limited in how dynamic they can be. I recognize this now as a flaw and will be dropping the full caching next time I'm able to spend some time on this. Then, more options will be open.

I'll post back when this is implemented.

#2

imp7 - February 1, 2009 - 13:53

Yes life must go on :)
Great thoughts, global and per user widgets would be invaluable, I can really see this being used extensively between the admins and regular users with large sites.
As it is during developing a site navigate has speed up the workflow with going from place to place and configuring/testing,
Cheers!

#3

chrisshattuck - July 30, 2009 - 00:24
Status:active» fixed

Man, it's been 5 months, but I finally got this sorted ... for Drupal 6. I don't think I have it in me to backport the new features to 5, but hopefully in the past months you've moved forward with 6. So, here's what we have in Beta5 for D6:

- The ability to set defaults (or 'presets', as you called them), based on user role. You can also modify an individual user's set.
- The ability to change the look / feel of Navigate through CSS. I've added instructions on how to do so. Because it's CSS based, you can have different looks for different themes. But not different looks for different users, unless you do some coding.

Let me know how it works out for you!

Cheers!

#4

imp7 - July 30, 2009 - 11:45

User based even, um wow, you should be on the drupal 7 usability team ;)
This preset feature seems to be working great and its pretty cool that you can export them.
It opens the thought of having a 'gallery' of presets to choose from.

..a minor bug, although I have a feeling it may be tricky to fix, does this repeat for you?
- Using Favorite Widget, add a fav link
- Using Menu Widget, + in hierarchical select behaves strangely, it does it's revel children transition and then immediately hides them again.
- After navigating to another page or refreshing menu + works again as intended
- Also quite strange things happen when you delete fav links then try using the hierarchical Menu + without a refresh of the page.
Tested in firefox 3.5.1, safari 4.0.2

I am not bothered by a back port as I am lovin drupal 6.x!
Ahh its flown by, that's half a year!!!

#5

chrisshattuck - July 30, 2009 - 16:24

Good catch, imp7, I have committed this fix to the dev release, so it will be available in Beta6.

Thanks!

#6

System Message - August 13, 2009 - 16:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.