Timeline for Installing/Enabling Custom Webform Hander
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 4, 2021 at 22:06 | vote | accept | iJared | ||
| Feb 4, 2021 at 22:06 | comment | added | iJared | Ahh, awesome. Ok so 2 things were wrong in the RedirectToCCBillingWebformHandler.php file. It was missing the closing "}" for the class and in my attempts to get the +Add Handler to work I had added the "src" folder in the use statement for the WebformSubmissionInterface. Got that from this link: drupal.org/project/webform/issues/2857904. So the "}" caused an AJAX error and once I fixed that I got the 500 error and found that link .. thanks @baikho | |
| Feb 4, 2021 at 0:43 | comment | added | baikho | You may also need to clear caches in between changing those things. | |
| Feb 4, 2021 at 0:37 | history | edited | baikho | CC BY-SA 4.0 | Improved answer |
| Feb 4, 2021 at 0:37 | comment | added | baikho | A spinning wheel usually happens because of an Ajax error. I suggest you open your network tab and look for any 500 errors, or look in your syslog / watchdog (dblog) after that happens. | |
| Feb 4, 2021 at 0:35 | comment | added | baikho | Sorry, I didn't intend to confuse you. What you did is absolutely fine by going to that page. The command I shared is just an alternative to do it via the cli. I'll update my answer | |
| Feb 4, 2021 at 0:35 | comment | added | iJared | Also, the reason I had changed the annotation plugin reference is due to a problem I had before changing it which has now returned once changing it back. When I go to the emails / handlers page for my webform and click +Add Handler, I get the wheel spin but the handler popup doesn't open. | |
| Feb 4, 2021 at 0:33 | comment | added | iJared | Ok, so I made those changes so that the annotation plugin reference is @WebformHandler and the change the Webform Handler ID to "redirect_to_ccbilling". Being very new to Drupal I actually don't know how/where to execute step 4 for enabling the module. I have been going to the Extend page in Drupal, selecting the module and then clicking Install at the bottom of the page. Is that not the same thing. If not, I need to request RDC to the server as I assume that drush command is something I need to do in a command line. | |
| Feb 3, 2021 at 22:01 | history | answered | baikho | CC BY-SA 4.0 |