@vij You might want to reach out to [email protected]
I don't know their plugin pricing but those features don't sound like too much effort. And if you allow it to be licensed at their will (please be more precise on this, "sell them to others" might be more restrictive than you want to be) it might give you bonus points 😉
I myself don't have much spare time right now, so I'm out of this.
is it possible to do simple calculation (addition and subtraction) inside templates.
-
@asma_90 it can be possible by using a helper function
-
I solved my problem, but without using a helper function. here is how I solved it:
$(window).on('action:topic.loaded', function (event, data) {
var replynum = data.postcount - 1;
console.log(replynum)
});I have tested it and it works, every time a topic is loaded I can get the postcount.
However, I am still unable to know why my helper function is not being executed