Taxonomy view help me to show in a personal page all my articles put in a taxonomy tree.
But I would like to have specific behavior for a given vocabulary. So for this one to remove it from the default taxonomy view and make it a special one.
how to exclude this vocabulary from the first and create another only for it.
Hi! I'm quite new to drupal 8 and twig, but this is something I thought would be rader easy to do, but I still struggle with.
I have a node type curriculum with two entity reference fields called 'optional' and 'mandatory'. Each of these reference fields contains a list of nodes. In the template, '{{ content }}' displays the entities together and not separates like I want to display it. I thought I could just write {{ content.field_mandatory }} and {{ content.field_optional }} to display them separately, but this shows nothing.
I have some blocks that I want to have the same bootstrap classes set in twig. The common element is that they are all set in one region. I thought I could use the twig dump() to see how I could test for this region but I haven't found it yet. I'm looking at the block attributes themselves to find a common attribute that could be tested. Something I could add to $variables in a theme_preprocess_block() function perhaps?
I had my D7 installation themed and running and added a module (Smart Paging) that splits & 'paginates' a node. That means that within the node, at the bottom of each split bit, a 'Previous - Next' menu is added. And that is now breaking the way my pages are showing.
In my template file I added (PHP) the formatted date
I have views that output an unformatted list from the teaser news template. I named them(template) node--news--teaser.html.twig
But when on the production server the editor(user) publishes the news with the help of the scheduler through the cron, some teaser news in this list(views) does not use a custom template but uses the default(unformatted views-view-unformatted.html.twig) template.