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've watched a OSTraining video course on Drupal 8 and I followed every step as in the video. Everything went well with the installation, but post installation I only see HTML-skelleton, not any CSS-style.
Doesn't appear to work, at least on a Bartik subtheme. It won't output anything. If I take that out, it loads the file in the footer as expected. This is a facebook pixel and needs to be in the head section.
I'm new to Drupal Development so would appreciate some help/guidance.
I have a website which I'm attempting to build using a custom Drupal 8 theme after seeing how Drupal would be best suited for my needs based on a previous project.
Followed the step to create a subtheme of bootstrap theme. Now, I am not able to see new logo updated, logo is overridden by default logo of bootstrap.
1) Downloaded Bootstrap project (8.x-3.x-dev). Placed the bootstrap folder in theme/contrib
2) Copy the CDN folder from the themes/bootstrap/starterkits folder and pasted in theme/custom folder
3) Changed the cdn folder name to mytheme and all THEMENAME occurrences to mytheme. also the inside file into mytheme.info.yml)
4) Gone to admin/appearance and enabled the mytheme
I was testing twig inheritance.
I have activated theme debug mode in drupal 8.
I can see the file name suggestions for template inheritance.
If I create a file that corresponds with the file name suggestions the template is added and I can override any block of the parent template. Inheritance works.
But I tried to override a block inside a child template that does not correspond with the file name suggestions.
The block is not being overridden.
Inheritance doesn't work.
I have just create a child template, that is overriding a specific block.
But I'm using {{ parent() }} function, inside this block in the child template.
The webpage is giving an error when I'm using parent function.
unexpected error.