I've added some bits of AJAX for my form, mostly just to hide and show forms. It works fine until there's a form error, then JS and AJAX stop working completely. Looked around but didn't find much...
The form I'm working on is a node form, and I'm adding stuff using hook_form_alter(). There are some AJAX buttons to do stuff and these links/buttons now won't work at all.
I have different types of contents like Events, News, Publications... and I need change the main image field to a new Media Field beacause I'm using now Entity Browser. Anyone knows how to do it and see all the images inside Entity Browser?
In Feeds module, I want to create a custom Processor can import csv file to airport_data table with columns: id, airport_code, airport_name, day, hour, max_precheck_wait, max_standard_wait, updated. I can do it in Drupal 7 but I don’t know how to do it in the Drupal 8. Someone can help me please or give me some idea how to do it? Thanks.
The code shows the creation of a table that will be populated when the advanceLoad() method of the manager controller is called. Sometimes this table contains a lot of information, so it is necessary to page it. With this code you can page but when you give it next on the paging link I get error. Can you help me? The code shows the two methods: the first is the form that displays the information, and the second is the method of the controller class that communicates with the database.
Hi, I am trying to add a parameter onto a node add form but not having any luck. Example, I'd like to have something like this: node/add/application/333 where 333 is another ID that I can use to control some things on the add form. Can someone steer me in the right direction?