This forum is for assistance with theme development.

How to access display view footer & header in views-view-fields.view-machine-name.html.twig?

Hi,

I am trying to access Header and Footer of my custom views-view-fields.view-machine-name.html.twig file, I am able to access the fields of view but I don't know how to access Header & Footer of view there. 

I can see that there is view variable available in the .twig file, But, I don't know how access the Footer & Header areas there. I tried debug this using Devel Kint, Kint breaks the page execution.

Status Messages not displaying (D7)

Not sure how this has started, but at some point I noticed that I don't see Status Messages, such as "Caches flushed successfullly", may be some similar...

I am putting in this forum, because the last 2 days I was busy creating a new theme for Drupal 7 and may be I have lost those status messages somewhere there....

My New theme....

Bootstrap theme

Hi,

Today after clearing my cache my site stop reading its css file. I checked all of my settings and they are still there. My site just seems to not be reading the css files

Any help would be appreciated

Learning to make my own theme (template overrides) based on Radix

Hi,

Im a real beginner. Never build any websites before. Couple of months ago I decided that i wanted to learn Drupal and I have followed the Acquia tutorials on YouTube as a starter. After that I have started to build a site from my own idea and used all kind of tutorials found on YouTube. I am happy with the site I've created  and I would like  to make it look like exactly how I want it. But for that I am clearly missing some knowledge and I need some assistance what I should learn first.

Libraries-override in Drupal 8.9

I am using Drupal 8.9 and trying to use libraries-override in order to remove a JS file from a parent theme with a few child themes. I have some shared JS, but I only need to use it on specific child themes, not all of them, so using libraries-override should be the right way to do so.

I have used libraries-override but it doesn't seem to work. The structure is:

themes

-custom

--theme1(parent)

---sources

----js

-----shared

8/9 Core Specification

OK, I'd think this should be an easy one, but I've searched, and been unable to find anything on this, at least as of yet.

I'm creating a theme, and I would like for it to be compatible with both Drupal 8 and Drupal 9. I'm unable to find how I would specify the

core:

line in the info.yml file to indicate 8/9 compatibility. I know it would be

core: 8.x

for Drupal 8, and thus, presumably 9.x for D9, but I'm not sure of the syntax to indicate both.

Pages

Subscribe with RSS Subscribe to RSS - Theme development