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.
In trying to solve the problem of two titles appearing on a taxonomy/term/n page, I've discovered that the Twig statement {% if not page %} doesn't behave as I expect.
Does anyone understand why the D8 core taxonomy.module determines that a url like taxonomy/term/n is not a page? The functions involved in taxonomy.module seem to be function template_preprocess_taxonomy_term(&$variables) together with function taxonomy_term_is_page(Term $term).
The last time I used Drupal was Drupal 5 where I used node import to create a directory of pharmacies.
It seemed simple enough: Get the data into CSV, create the template that puts the data into the right places, use Pager to create city-by-city listings, and voila.
Now I'd like to create a site that compares pharmacies. Just Pharmacy A vs B. Not A vs B vs C.
I'd like to get user(or role) permissions with JSON format via Rest API.
I found that I can get a list of permissions with a field "User: Permission" . But this format is not appropriate for me, I'd like permissions list with JSON format.
If anyone knows the way, could you tell me the way?
I am trying to create an image slider from multivalue field of a node. I used slick slider for the purpose and followed the instructions. But the result is not nice.
Is there a better way to display a single multiple-value image field in a single node display for the slides.
Fairly new drupal 8 instalation with a few pages: https://sensistop.dk
Another administrator tried to insert a video and the pages became invisible. Only things showing are logo and "Skip to main content" - which doesn't do anything (visible).