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?
לבנות רכיב שמוסיף באופן כללי עמודה של “הצבעה” לפריסת רשימת הנושאים
להוסיף בוחר קטגוריות להגדרות הרכיב. כך שתוכל להשתמש באפשרות הזו אם אתה רוצה להציג אותה רק בקטגוריות מסוימות.
אם אתה רוצה להציג את עמודת ההצבעות ברשימות גלובליות או ברשימות מומלצות, אז אל תגביל לקטגוריות ספציפיות ותציג אותה בכל מקום. או להסתיר אותה עם CSS ברשימות שבהן היא לא אמורה להופיע.