How do we preview the theme without enabling it? I want to be able to experiment without messing up the user experience. We’re on Discourse hosted plan, so we don’t have the ability to run test instances.
I’m hoping that there is a switch or setting that I’ve overlooked.
I’m thinking it might not be feasible but it can’t hurt to ask.
In a long topic when you start from the bottom and scroll up, the banner will make a brief appearance while the post stream loads in older posts. After the posts are loaded, there is a visual “jump” as the banner gets pushed above the post stream. I find it a bit jarring and it does not appear there long enough to interact with.
Ideally, I would only like to see the banner above the title of a topic and not mid-stream. I think this is not a trivial request though because I’m going to assume the banner uses the below-site-header outlet so it’s behavior is based on the outlet and therefore this “jump” is expected behavior.
Is there a simple way to know if you’re at the top of the page?
I discovered that the cloned theme does not need to be active. It can be previewed when it is inactive, so there is no need to worry about users discovering it.
I read that with amusement. That was my thinking when I started exploring themes. I wanted to experiment and loaded a few different themes. The forum members found them very quickly.
To be doubly sure that your users do not get to see what you’re experimenting with, leave the “Theme can be selected by users” option unchecked. Users will be unable to choose the theme even if it is active.
I want to use this banner so that every week someone from my country is honored in my forum, which will have a photo of the honored person and a text, but I want to grant access to the plugins to my moderators, because not every week I will be available, there is how to grant access to this plugin to my moderators so that they can also put photo and text?
It would be possible to create a theme that would, say, make the banner a photo in a topic with a certain tag or category (or the newest topic with that tag or category). You could then limit access to that tag or category to members of a certain group. I wrote a plugin once that took its data from the most recent reply to a topic.
So, without looking at the code, I think you could fork the theme and do something like that.
(Coin-coin le Canapin)
Split this topic
Today we’ve merged a refactor of this component that moves it from our custom widget system to a modern Ember component.
This is necessary as we plan on removing our widget system within the next year. All the functionality of the banner should remain the same, but let us know if you encounter any new issues!
One thing to note that has changed is that since this is no longer comprised of widgets, so you won’t be able to do something like this to override its functionality:
This kind of customization has always been a little fragile (if the theme changes, it could break the override, and in turn the entire component) so this is a pattern we’re moving away from when developing extensions for Discourse.
Thanks for the update! Just a heads up - on stable, there seems to be a new issue when when having the columns empty/hidden. Before, setting ‘first/second/third/fourth column content’ fields to empty would hide those columns if I recall correctly. But after the upgrade, the columns will take up empty space if left blank, it’s more significantly noticeable on mobile.
HI I have a problem with the banner on firefox mobile. Im using 3 columns and the first two show all the content and third is cut off. Samsung S23 Ultra I can see it on brave fine. On firefox both logged in and logged out its missing.
I don’t think I’ve seen my issue elsewhere in this thread, but apologies if a solution has already been provided. I’m wanting to implement this banner on my community, and after extensive customization, I’ve realized that it seems like this component is extending the right side of the main container over past normal. I’m going to provide some screenshots below of what I mean (everything in the banner is currently in default settings).