Find total topics in category


(Yannick) #1

I’m looking for the file that tells me what else I can access on a category like ‘stat’ on line 35 in:

I’ve mostly been searching for a category model or controller, but have yet to find the ‘thing’ that exposes ‘stat’. (My eventual goal is to display the total amount of topics, rather than x topics per timeframe.)

Any leads?


(Yannick) #2

Massive thanks for all the input, if someones trying to inspect something (for example ‘c’ for category) in a template in the future; put {{log c}} somewhere in the template where its accessible and rejoice as the template spits the object out to the console when you refresh your page.