Homepage Feature

Hello everything is fine? I want to thank you very much for making this theme component,

This theme component is perfect, because I do a lot of tributes on my forum (singers’ birthdays, actors’ movie premieres, vaccination campaigns, etc.) not every day i access the forum

I’m having some difficulty customizing it, I really want your help

I customized it to the point of leaving it like this

Is there a way to put the initial text of the post in the banner, in addition to the title? Perhaps a limit of characters to appear there, in addition to 2 icons with texts to go to other options, like this

1 Like

Hello! I’m on v3.1.0 and this plugin has been working beautifully until ~last week. Didn’t change any settings, but I’m now unable to promote any new posts to be featured. Is there anything I can look into to troubleshoot?

It seems like some posts can be promoted, but others can’t. All have images.

Any direction would be appreciated! Thank you :slight_smile:

1 Like

Hi @victoria1 :wave: You may want to update your Discourse instance.

4 Likes

Is there a way to associate featured topics that are tagged as featured in categories other than the main/original category? Everything works great in our main category but there is another parent-level category that will not display threads in the featured topics list despite the threads being tagged as such.

@awesomerobot - I agree with @merefield:

one feature which would be nice is optionally linking to the first post.

Any chance of it being implemented in the main theme-component?

2 Likes

oh sure, probably about time to get to that… here I’ve added a new setting called always_link_to_first_post: FEATURE: add `always_link_to_first_post` setting, move setting descriptions by awesomerobot · Pull Request #33 · discourse/discourse-homepage-feature-component · GitHub

should be available once you update the component

4 Likes

Hey @Lilly! I work with Victoria. We’ve updated the instance to 3.21 but are still seeing the previous behavior where only 1 post is featured.

CleanShot 2024-04-22 at 11.31.32@2x

We currently have the max number of topics set to 5 and 5 topics are tagged with the appropriate tag.

Any troubleshooting tips would be greatly appreciated! Thanks :grinning:

2 Likes

@Lilly Just wanted to follow back up here. Any next steps we should try? Currently unable to get more than 1 item highlighted.

1 Like

hmm it appears to be working as expected for me. have you tried disabling other theme components? it may be that another theme component (or plugin) is conflicting with it. :thinking: what other theme components and plugins are you using?

2 Likes

Thanks @Lilly, here are the other Theme / Components we have installed.
CleanShot 2024-05-03 at 13.41.24

I haven’t tried disabling the others yet, will do that and report back.

1 Like

3 posts were split to a new topic: How can I make sure only admins/mods are able to created featured posts?

I don’t want to use a featured image but I can’t seem to find a component that seems to do that. Am I just missing it or does that not exist? This component seems perfect and does exactly what I want aside from requiring an image.

Just as a bit of feedback on my experience as well: I think it would be helpful to users to make super clear in the description and settings screens that only topics with images in the first post will be shown and if no topics match then nothing is shown; I didn’t realise that and spent quite a while trying to figure out why nothing was appearing before I saw the replies in this topic about it.

3 Likes

Have you looked at this TC?

Not sure if image is required or not but might do what your looking for.

4 Likes

Thanks! I had not seen that one so I’ll check it out.

2 Likes

I’m trying to make this work as single featured topic on both desktop and mobile.

The CSS isn’t really set up for this, but I’ve managed to hack it with this so that the image shows nicely across the full width:

.featured-topic-wrapper .featured-topics .featured-topic {
    max-width: none !important; 
    .featured-topic-image {
    max-width: 800px !important; 
    width: 100%;
    }
}

However, it isn’t very responsive to screen width changes or mobile, losing the aspect ratio (which I’d really like to keep). I’ve worked around that by choosing an appropriate size image and hard coding a different height.

Is there a simple change I can do in order to make it responsive? Also, is it worth tweaking the CSS of this component to better cater for the use-case of a single featured topic?

3 Likes

Small feature request: Would it be possible to add a “random” sorting option? In our use case, we would like to rotate up to 5 different topics since they will be ad/sponsored content. Hence we want to make sure, that users always see a new topic every time they access the home page

1 Like

Just installed. It’s really cool and amazing work…
In above added screen-shot the topic title is left align and in background color/shadow. It show image and title together visible into one rectangle box…so i need css code Support. Please help me this…as a gesture I will be really thankful to you. :heart_decoration:

Is there a way to enable this component in Hot as well, in addition to Latest? Or even Hot only. I see the Top page can be selected but I haven’t found the way to show the component on Hot, and Hot is what we use for our default homepage.

EDIT: It’s ok if the images featured follow the same logic as in Latest. We just want to have featured posts/images in our Hot main page.

1 Like

thanks for this nice component, 2 suggestions

  • nice to have a setting to hide the text under the pictures or make the font smaller ?

  • a setting to hide on mobile? (taking too big space on mobile)

thanks…