Helga_Razinkova requests a customization to feature a Wishlist block on the homepage, displaying the 4 latest topics sorted by votes, with a ‘See More’ button linking to the full category. The task is due by June 30, with budget open to suggestions. jahan_gagan expresses interest and takes on the job. manuel proposes a technical solution using a custom component to add a ‘Vote’ column to topic lists, compatible with existing features like Featured Lists, and suggests adding a category filter for flexibility. Helga_Razinkova thanks everyone, especially jahan_gagan, for their support.
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.