Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am creating a custom field widget where a user can click a button and edit some fields in a form inside a dialog modal.
Opening the modal works fine, but I cannot seem to make any buttons inside the modal form react to anything I throw at it.
In the below example, when clicking the "submit" inside the modal form, the "submitAjax" function is not executed, and I receive a standard AjaxResponse in my network debugger. I've tried using different class names "use-ajax" and "use-ajax-submit", I also tied without any.
I am using View data export module to perform data export in Excel. I am getting
Error: Class 'Drupal\xls_serialization\Encoder\Spreadsheet' not found in Drupal\xls_serialization\Encoder\Xls->encode() (line 70 of modules\xls_serialization\src\Encoder\Xls.php).
I am aware that the below query can fix this issue:
I have an "entity_reference" field which displays an "entity_autocomplete" form field.
I would like the user to select only one value.
The problem is that the field allows the user to enter multiple values (separated by commas), even though I set the field cardinality to 1 and "Tags" is false by default.
For nearly four decades, MagMutual has led the frontier of medical professional liability insurance. To confidently communicate its fast-innovating services, MagMutual needed a website redesign in step with a larger corporate rebranding effort.
I am creating a campground directory. I have a question. I want campground owners to upload updated images to a particular node (Campground) instead of dumping them in a big folder with everything else.
I am trying to keep all the images tucked in a simple folder concept -- easier for me to ensure keep tabs on everything.
The structure I have for campground images is public:/listing-gallery/state/campgroundname/images