This forum is for assistance with theme development.

How to get a taxonomy term in unformatted view ??

Hi guys,

I try to retrieve NOT the id but the content of my taxonomy but I can't find how to access the content. I only get the 'target.id' in my unformatted view.

However, in my view I retrieve a type of content where the taxonomy exists.

In my view :

How do I exclude part of the code ?

I have a Drupal 8 template file with the following markup.

<div class="col-4 col-sm-4 col-md-4 col-lg-4 col-xl-4 p-0 text-center">
  <i class="far fa-heart fa-lg"></i> {{ product.flag_like_product }}
</div>

Is it possible to exclude the following markup?

I want when I open an accordion menu, it will close the other accordion menus

I have created 2 accordion menu for Bootstrap.

But it doesn't work properly.

I want when I open an accordion menu, it will close the other accordion menus.

How to do this ?

Le menu `accordionSetting` doit ouvrir un accordéon à la fois dans ce même menu.

Theme for multiple users to one site

Can anyone provide direction on Drupal's ability to manage a single site with thousands of users who create a profile and upload artwork for other users to see?

Thanks for any help anyone can provide.

Mark

No html head loaded for html--node--1.html.twig

I have a 'html--node--1.html.twig' file to load a specific template file for this node. When I load the page, I can see this template is use, but no <html> <head> (including css and js links) are loaded while for 'page.html.twig this' is the case.

Anyone who can guide me?

Thank you!

Parser error with INFO.YML file

I am attempting to create a Base Theme. I have all the necessary files, I have managed to create Themes that use others as a base theme (Classy, et.al.), and have not had this issue; however, when I attempt to move my new theme into my Drupal 8 setup, I get the famous "The website encountered an unexpected error. Please try again later." Error message. Checking the logs, I find
 

Pages

Subscribe with RSS Subscribe to RSS - Theme development