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.
I'm trying to customize an image field for my content type, but i can't find where default image tpl is.
usually for views and blocks i clone the default tpl (for example: views-view.tpl.php) and i modify it renaming and editing the file content, but i can't find the same file for images field.
in particular what im trying to do is create a custom image field tpl for my content type and printing the image and the alternative text with some container div.