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 use some image styles to resize images and recognized that the images weren't really resized. They are rendered down via the width and height attribute. The browser devs tells me something about the intrinsic size.
I have tested this at my local installation and there it worked. What could be the problem?
Hello,
from command line) in c:\xampp\htdocs I installed drush with this command
composer require drush/drush
To see how it works I type from c:\xampp\htdocs\sito\web
drush cc
I get back the warning that drush is not recognized as a command.
What am I doing wrong ?
I'm defining the structure of the taxonomy on which the whole project is based.
In terms of performance, both for administrators and for displaying content to users, is it better to have several vocabularies with relatively few terms or only one with a large number of terms?
I would like to avoid both problems with the overview of the list of terms and (views) too slow queries and too many joins.
To get a rough idea, I have to decide whether to have 10 vocabularies with ~100 terms, or one vocabulary with ~1,000 terms.
Hi, im getting this really strange error recently that i cant seem to find a solution for. Im working on a simple module that makes calls to an API, so that i can fetch that data with JS and use it in a form, its just a simple endpoint. The module works fine locally and in QA, it returns a JsonResponse.
The problem i encounter is that in PRD, the module works at times, returning the proper JsonResponse, but other times it throws the following error:
Hi everyone, I am trying to aggregate data from some fields using the Views core module into an unformatted list so that I can later generate charts using the Charts module.
The problem I am experiencing is that when I try to aggregate the fields, the labels are being duplicated instead of getting grouped, and the duplicates are being counted separately:
Hi All, this might be a beginners PHP question! I have created a custom module with a nameOfModule.module file and a src/Controller/nameOfController.php file. How do I use functions from the class that I have in src/Controller/nameOfController.php in nameOfModule.module? Regards Thomas S