This forum is for assistance with theme development.

How to display field_tags of a node in html.html.twig?

I want to display Field "field_summary" and "field_tags" of a node in html.html.twig (without using a module for that) as metatags. I was already able to get "field_summary" value in html.html.twig with this code:

Site-wide background image and header image for MAYO for 8.x

Hello,

I have the MAYO theme installed am using a subMayo creation. According to the MAYO Theme write-up, it does everything that I want it to do. The problem I have is HOW? Is there an interface that I'm missing somewhere? Do I need to make all of my changes in the .css files? Is there a documentation file somewhere that actually has some information?

At this point, I just want to change the header image (keeping the logo.png image intact) and create a site-wide background image.

Any assistance would be greatly appreciated,

Error after adding .theme file

After creating .theme file in my template folder (whether empty or not), I get the following error message:

Checking the field for completeness

I am trying to check the field for completeness and if there is a loaded video in the field, display a small icon on the preview layer. doing so:

<?php if(!empty($fields['field_video'])) echo '<div class="ribbon-wrapper-gold"><div class="ribbon-gold">with video</div></div>'; ?> 

But with video always appears regardless of whether the field_video field is filled or not. What am I doing wrong?

views Unformatted list error

Hi 

i always got this error when i use Unformatted list format in views

i didnt find where is the problem

please help

User error: "attributes" is an invalid render array key in Drupal\Core\Render\Element::children() (line 97 of core/lib/Drupal/Core/Render/Element.php).

Taxonomy pages

Hello!

how can I edit the taxonomy pages? If I click on a term the resulting pages look not the way they should.

Pages

Subscribe with RSS Subscribe to RSS - Theme development