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.
This is my very first time using Drupal and I'm new to twig so I'm trying to figure this stuff out. I can't seem to find an answer to my problem though.
I'm using the foundation 6 framework and it has the logo as a list item in the menu. So I hard code the list item in the menu--main.html.twig but when I try to use {{ site_name }} or {{ site_slogan }} the values are null. I'm not sure why these are null because they work in the block--system-branding-block.html.twig file.
Could someone please take a moment to educate me, I'd appreciate it.
When displaying a view of teaser i would like to also show a sidebar with some filters so we can filter the display by checking or unchecking the checkbox in front of the filters. Should i use taxonomies for that ? Or the filter option in view is different ? Can you just tell me where to look for the best practice ? :)
Hi everyone, i do have a form associated to my content type, i added a checkbox in this form so when i add an entry i can check the checkbox if i want display a certain image on my template or not. How do i do the test like
From the Drupal 8 docs: "You enable Twig Debugging in sites/default/services.yml.
(If services.yml does not yet exist; copy default.services.yml and rename it to services.yml.)"
I don't have a service.yml only a default.services.yml
Why is this file set to read only if I need to copy it? Is it safe to change it to read and write?
Os escribo el siguiente post, pues he trabajado poco con drupal y la verdad
es que por más información que busco internet, cada vez me encuentro más perdido,
a ver si por casualidad alguien se ha topado antes con mi dilema y sabe echarme una mano.
El caso es el siguiente. Estoy retocando el diseño de una web que me han pasado y ya tiene
creado un menu que enlaza con 5 págias de contenido. El dilema es el siguiente: