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.
Hello, I've been making a theme for Drupal 8, but I can't seem to find a way to reference images in my Twig files, at least not in a way that satisfies me.
I've found that this: {{ url('<front>') }}
gives me this: https://localhost/drupal/en
or https://localhost/drupal/es
I'm new to Foundation, but was able to build my site design outside of drupal in about 2 hours. So, then I started trying to port that over to a drupal sub-theme of Zurb Foundation and I'm tearing out my hair!
Can anyone summarize the best way to go about utilizing foundation theme with drupal?
While overriding a node for one of my content types, I realised I can output the value of the field/s in different ways, which both produce the same result.
Hi guys, I am trying to insert the value of a field (which is an image URL) in a CSS property. I am doing it through JS. This whole code will go in a theme file.
I am wondering whether something like this is correct in Drupal:
I cannot find Bootstrap sub-theme I followed all the steps, have been at it for hours (14 hours over 2 days to be exact, no exageration) (fully frustrated) It has gotten to the point where I cannot think for myself anymore I need help.