1

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 May 16 '17 at 21:54
  • Oh, I kind of assumed the element action made a AJAX request? In which method would you do it? performAction()? – Fred Carlsen May 17 '17 at 21:46
  • Oh, you're probably right. includeJs some JavaScript to do the redirect in performAction? – Brad Bell May 17 '17 at 21:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.