Oh that’s a bug, definitely. We’ll need to investigate that, good catch!
Excellent, thanks for the PR, merged!:
- Im fairly sure thumbnails are not serialised here. Feel free to confirm. That could be overcome by enhancing the sidecar plugin.
- when I last looked at this the structure of the page did not permit low risk overrides isolated to a leaf template. Generally we don’t want to override the whole page which might cause breaking changes or mask feature updates from core. A PR to core might help here …
Feel free to submit required PRs
Fair points. I might choose another presentation for the category pages, maybe boxed or something like that.
I have another question.
Is it possible to have category pages (which contains topic lists) being displayed in tiles on mobile, but with thumbnails on desktop? I tried several settings tweaks but I couldn’t achieve this.
edit: I achieved it. I’ll detail how I did it a bit later in case it could interest someone else, I added this edit just so nobody spends time explaining me how to do it
So, If I’m not mistaken, here are the settings…
First we need the tiles display only on the mobile view of (at least?) a topic list:
Then the thumbnails for desktop AND mobile:
I was mistaked at first because I thought “tiles” and “thumbnails” were two different presentations of a topic list, both containing the images. but this is not the case. Thumbnails are needed if you want images to appear on a topic list, whether it’s a tile or not.
There is no need to manually add your categories here:
Since we’ll override this setting by enabling the following one:
Now, you should have small thumbnails on desktop in any topic list (latest, a specific category, etc), and a “tiled” presentation on mobile with large thumbnails:
I have a little issue with my user profile, I guess this is a small bug:
Since it mentions the thumbnail, I suppose this is related to this theme component.
Still playing with this theme component by the way… And it’s awesome.
I have a question. Is it possible to prevent a topic from having a thumbnail, though the topic actually contains some?
Here’s my case:
I have a documentation category for which thumbnails are welcome.
But I also have a topic that just gives general advice when creating a new topic:
There is no meaningful image in it, but it adds a thumbnail automatically:
The only way I see to circumvent the issue is adding a random image at some point in the topic, and setting it as the thumbnail.
(but I admit it looks nice though…)
Oh yes that localisation is failing and needs to be fixed.
No, if there’s an image it will try to use one. Adding an additional nice one is the perfect workaround
This will look better for the consistency of your page layout too.
In any case I often use a featured topics Component (the built-in TLP one or another) to summarise those kind of posts at the top so having an image is quite nice.