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.
We have many Views and Views displays. Over 3 years of building the site we have many displays that are not being used. We would like to delete them and clean up the view but are concerned that a display might be used in the site. Is there a way of determining if a views display is being used on the site? I thought of different ways to check this:
After filling the fields, I need to auto-submit the form using Ajax (there should be no submit button) and add some parameters to the url. My current form submit looks like this, how can I achieve the same thing using Ajax.
I have implemented a content type using configuration export and adding it in a module. So whenever a user installs the module, the content type is created along with the its fields.
What happens if I want to add a new field? If I add a new field to the configuration, it will not be created in the DB until the module is uninstalled and re-installed. How can I add the field in the DB without having to uninstall/re-install?
I'm working on adding a dropdown menu to my main page but not all of my CSS is applying to the submit button. The font-size attribute applies correctly, but attributes like color, background-color, and border-radius don't. At first I thought this was an inheritance issue, but even putting the CSS in a style tag right before the element has the same problem. I've constructed this dropdown in HTML and then through the webforms module, but both times the submit button have retained the appearance of a link and the search button, respectively. What could be causing this?