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

Comments

ygerasimov’s picture

Status: Needs review » Fixed

Committed to both 7.x-1.x and 7.x-2.x branches. Thank you!

pol’s picture

Don't forget to add a condition: modules_exists('rules') to avoid error on 7.x-2.x

Patch attached.

pol’s picture

Status: Fixed » Needs review
ygerasimov’s picture

Status: Needs review » Fixed

Thank you a lot Pol. You are completely right. Committed!

pol’s picture

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 !

Status: Fixed » Closed (fixed)

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

iamEAP’s picture

Version: 7.x-1.x-dev » 6.x-2.x-dev
Status: Closed (fixed) » Active

Would love to see a backport of this to 6.x if anyone's willing!

  • ygerasimov committed 5d4fe95 on 8.x-1.x
    Issue #1316806 by mrfree: Add rules support.
    
    
  • ygerasimov committed ab15185 on 8.x-1.x
    Issue #1316806 by Pol: Add check rules module exists.
    
    
istryker’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6.x is no longer supported. Closing issue