Forum Discussion
Thank you, Parshant ,
You are right, I am not very much familiar with the Lithium coding. It is actually not easy to learn some practically useful things from the documentation sections in the Lithosphere. I mean I miss code examples not the glossaries and tables with the key/values and their definitions.
I am a little bit confused by the things like:
${msgs.subject}
As I can see there is no such key "msgs" in the API 2.0 Collections glossary. But there is key "messages". Is the glossary out of date or I missed something?
Could you please suggest me some practical tutorials/video lessons explaining how to use LiQL together with the FreeMarker to customize common community components like for example Latest Blog posts?
Thank you!
If you check my code.
<#list messagesData as msgs > ${msgs.subject} </br> </#list>
I have added a <#list> which is basically we use for loop the data to listing a sequence (or collection) of items, and to list the key-value pairs of a hash.
in above code you can see I have added
<#list messagesData as msgs >
which list out all the collection in between "messagesData" and then make them to a varibale defined as "msgs" .
Related Content
- 3 months ago
- 4 months ago
- 30 days ago
- 3 years ago