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 have two views bootstrap carousels in two different sites. Views > Advanced > Use Ajax to Yes for both. One site does not reload the page another site reloads the page during the slideshows. When I say "reload", it means if I am on the node where the slideshow is, I see the node is bit refreshed/auto scroll up(it may not be the complete reload like F5) as the slider is sliding.
I seem to have a comment field that is a remnant that I cannot get rid of. I have a website upgraded from Drupal 7 a couple years ago and am on Drupal 8.9.11. There are the 2 errors in my log, which indicate the error, but the error actually prevents a few other things on my website from working properly.
Field comment.comment_node_vegetation_communities.comment_body exists but is missing a corresponding field definition and may be misconfigured.
I know this is very old and know issue in Drupal and there a very handy dandy guide available to fix the problem and I know how to fix this issue BUT on an Apache server. I have been using apache all my career (more than 6 years now) and recently changed my mind to switch to nginx after a discussion with a colleague.
I have a 'html--node--1.html.twig' file to load a specific template file for this node. When I load the page, I can see this template is use, but no <html> <head> (including css and js links) are loaded while for 'page.html.twig this' is the case.
I have a custom module that implements a custom field.
In that custom field I have an integer. This integer is optional. The user can insert any one or leave it empty. If the field is empty, the next number to the largest stored must be assigned on insert.
I understand that to avoid problems of concurrence between the query and the insert, I must use a transaction. Nevertheless, I don't know where to customize the insertion query of my custom field.
I have implemented the FieldFormatter, FieldType and FieldWidget.
I am building a custom module which has a form which functions as a calculator for a specific use case. This form contains a table which collects user input in rows, allowing the user to add new rows as needed.
My problem is that I need a callback function that accesses each row, performs calculations on the values in that row and return results for each row. I don't know how to access each value as the field name is the same on every row. I have tried using $key to give each field a unique name, but that does not help me loop though 'x' number of rows the way I need to.