Hi everyone! I’d be really grateful if someone could help us with the following customization
What would you like done?
We need to feature a Wishlist block on the homepage. Here’s how it should work:
The block displays the 4 latest topics, keeping the current design, including the number of votes, the topic title (along with the subcategory name and tag), user avatars, number of replies, views, and latest activity. We’ve captured all the details in the screenshot.
Topics should be sorted by votes, following the existing sorting in the Wishlist category.
A “See More” button should link to the full Wishlist category, also sorted by votes.
I’d actually be curious to discuss how this should be best implemented, so it’s most compatible with the overall framework.
There’s already my component to feature topic lists: Featured Lists. Right now it renders using the BasicTopicList component from core. It could also use TopicList, I’m not sure if there’d be a difference. The default look is:
But it doesn’t update the view on the Featured List component. So I wonder if the best way to go here would be a general component that adds a dedicated topic list column for Votes, similar to the Author column?
But I wonder if I’m missing something as to why the existing official component doesn’t do that?
Having looked a bit into this, what I’d likely do is:
Build a component that generally adds a “Vote” column to the topic list layout
Add a category picker to the component settings. So you can use that option if you only want to show it on certain categories.
If you want to show the Votes column on global lists or on featured lists, then don’t limit to specific categories and just show it everywhere. Or hide it with CSS on lists where it shouldn’t show.