I use a rules link to carry out several different functions. The last one being a page redirect. I just realized it can do these functions about 20 times faster if I use the jquery mode....wow.

But it doesn't allow my last rule to fire - page redirect. I realize ajax doesn't play well with page redirect because it's not relodaing a url. Any way to accomplish this while using jquery mode?

Love this module!

Comments

IWasBornToWin’s picture

Any suggestions?

IWasBornToWin’s picture

bump

IWasBornToWin’s picture

?

IWasBornToWin’s picture

Any?

mitchell’s picture

Yea, since there's no page request, a drupal_goto() call wouldn't be possible. Maybe it'd be possible to do something similar to the way system messages are incorporated as the link message to maintain the same configuration workflow, or the javascript link behaviors could be made pluggable with options in the configuration screen.

For testing, I tried substituting http://drupalcode.org/project/rules_link.git/blob/refs/heads/7.x-1.x:/ru... with window.location = "http://localhost"; and it worked as expected (as long as a 'Show site message' action is set). On a side note, #1485786: Inverse link after rules link acted may also be influenced by this or be able to give some insight.

avpaderno’s picture

Issue summary: View changes
Status: Active » Fixed

I am closing this issue since it got an answer 8 years ago and there haven't been replies.

Status: Fixed » Closed (fixed)

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