Printable theme_alter

Created on 20 December 2022, over 1 year ago
Updated 16 February 2024, 4 months ago

Problem/Motivation

Hello there,
I'm trying to manage some different templates based on my content types without success. I'm using the HOOK_theme_suggestions_printable_alter but nothing happens and always calling the default printable.html.twig.

My template file is named like: node--articles--printable.html.twig

I've tried to find some documentation around without success either.

Anyone could give me a tip to work with different templates?

Thanks

πŸ’¬ Support request
Status

Closed: works as designed

Version

2.1

Component

Documentation

Created by

πŸ‡§πŸ‡ͺBelgium pmichelazzo Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024