I have a form with a textfield for quantity and payment_reference field. I want to refresh the payment_reference field when the quantity is changed with ajax. After ajax call, the payment_reference field is not refreshed with the new quantity number. the form build code is like this:
Drupal (8.8.4) status show "Opcache not enabled" - I have a test php which concurs with this.
My ISP (Justhost) helpdesk tech support (though very helpful) insists that opcache is installed and "The server admins just replied and they said to ignore the message as its just a glitch and they said that its enabled from server end and you may not have to worry on it ".
I do worry though - as this message doesn't appear locally on localhost then there would seem to be a problem at their end - How can I be sure that it is actually working?
The ITF Seafarers is a platform that is a part of the ITF (the International Transport Workers’ Federation), dedicated to all water transport workers around the world. From maritime news and being informed on the workers’ rights to contacting ITF staff in case of emergency, the ITF Seafarers is a one-of-a-kind information hub for all maritime workers.
I'm developing a module where one of the elements is a multiple select box. The data for this box is a complex set of a couple of hundred taxonomy terms.
In order to display these terms in a custom form, in the buildForm function I add these terms to a render array. I then add css classes to each of the terms, dependent on their parents, if they have children, and on specific term fields. This processing takes a couple of seconds each time the form is opened.
I tuned a display view mode for a particular content type juuuust right for the way I want it displayed.
Now I have new content type and would like to reuse the view mode I already created. I can't figure out how to do that without recreating it from scratch.
I work with the corolla theme. So I installed at_tools and adaptivethemes as well. First I created the image styles. After that I build the responsive image style. Under 'manage display' I assigned the responsive image style to my slider image.
The thing is it works. But only after page reload. Means, if I switch with an iPad or iPhone from portrait to landscape the image stays small. But after page reload the image fits. Vice versa the same. If I switch from landscape to portrait the image is to big. After page reload the image fits.