Forum Discussion

samhigton's avatar
11 years ago

Get Message Position index in freemarker.

In lithium, there is a component called 'positionInThread' that displays "message X of 100" on the page. 

 

is it possible to retreive just the value of X in freemarker (either via context object or rest API), so I can use it in my own custom component?