This component is working great at our forum (after some CSS editing to match our theme ), kudos to @awesomerobot
One thing I’ve noticed: featured topics always appear above banner topics. Personally I think they should appear below them, it’s more logical due to the nature of banner topics. Is there a way to accomplish this or would it be possible to at least be able to choose its placement at the component options?
@awesomerobot I just noticed that this component is showing when I’m logged in as an admin, but not for other logins, browsers, or even incognito windows.
Has anything changed in this component? Since upgrading to the latest version (this component as well as discourse) I only get two topics with thumbnail on the homepage and the CSS also seems to have changed a bit (you can check at forumscp.com).
At a glance I can’t see any reason for this, the preview link in the original post above still shows 3… can you link to the topic you’re expecting to be in the third slot on your site? it’s possible I didn’t account for something.
Could be it be that the topic doesn’t have an image to be reproduced? Shouldn’t the component in that case either go with a predetermined image or pick up the next topic with an image?
I seem to have run into another issue with this component as it’s no longer loading on our community. I noticed it’s also not displaying on the theme creator preview either.
What is the reason for the hard-coded limit of 3 featured topics? Any chance of making that configurable? I’d like to be able to use 6 to replace our current use of Topic List Previews.
Also, should you decide to support > 3 featured posts, it would be great if we could select the image size. Right now the TC is using 1024x1024 images, which would be too much when we use smaller images.
After migrating my setup to subfolder this theme component doesn’t work anymore.
Is it enough to use get-url's getURL when setting or checking the routes? Maybe also on ajax calls?(ajax calls are already handled). I can give it a try if this is the way to go.
Also, I think this match is a little too broad? e.g. if a topic has search or admin in its title it doesn’t show the component when show_on is set to all.
We only use it if there is a piece of breaking news to put something on top of everything else.
Now, the problem is, it does not collapse when there is nothing tagged “featured” and a big gap is then being displayed due to the min-heights set.
Thus, we always have to disable the component. The disadvantage: The user has to make a reload of the website before this comes effective. And I understand, to collapse it automatically e.g. with a class (in case there are no tagged topics) after the ajax would jitter the whole page.
But: Would it be possible, to have an “enabled” variable in the component that would collapse it and not execute the ajax (and the loading spinner) to fetch the tagged topics? Thus, a user does not have to shitf-reload the page in order to become effective.