I'm trying to process multiple elements in a custom element action, and then redirect the CP user to a url.

How would I do that?

  • Entirely possible I'm missing something, but craft()->request->redirect()?
    – Brad Bell
    Commented May 16, 2017 at 21:54
  • Oh, I kind of assumed the element action made a AJAX request? In which method would you do it? performAction()? Commented May 17, 2017 at 21:46
  • Oh, you're probably right. includeJs some JavaScript to do the redirect in performAction?
    – Brad Bell
    Commented May 17, 2017 at 21:48


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.