How do you pull in data from the DB for your theme components?

Thanks for the reply Justin :slight_smile:

Is there an easy way to simply re-use feeds/data that Discourse already provides? (So that they honour that user’s settings too).

So for example in a side column we might have:

  • Latest 10 topics (feed from Latests page - but also honours muted categories)
  • Top topics this week (from /top)
  • Top topics this month
  • Top topics this year
  • Most active users this month (from /u?period=monthly)

This is actually fairly easy to do on other forum platforms and I really miss this with Discourse :sob: