Posted by mrfree on October 21, 2011 at 10:30am
7 followers
| Project: | DraggableViews |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I really like the Rules module approach and I also think Rules support in DraggableViews would be a very useful feature, so I wrote a patch for it.
Actually the patch simply defines a new DraggableViews event and triggers it when a certain view has been sorted. Is almost all what DraggableViews does :)
It can be used to clear cache on sort, create a PDF automatically on sort and so on...
I hope it can be useful for you too
Thanks to ts145nera for his suggestions
| Attachment | Size |
|---|---|
| draggableviews_add_rules_event.patch | 1.59 KB |
Comments
#1
Committed to both 7.x-1.x and 7.x-2.x branches. Thank you!
#2
Don't forget to add a condition:
modules_exists('rules')to avoid error on 7.x-2.xPatch attached.
#3
#4
Thank you a lot Pol. You are completely right. Committed!
#5
Hello ygerasimov,
Please, for the next time, include authoring informations (found on the user profile) when you commit, so we can see on our profile that we worked on the module.
This parameter must be added to the commit line. (
--author="Pol <Pol@47194.no-reply.drupal.org>")Thanks !
#6
Automatically closed -- issue fixed for 2 weeks with no activity.
#7
Would love to see a backport of this to 6.x if anyone's willing!