ContributionsMost RecentMost LikesSolutionsRe: Get kudoed messages by user Thanks it's helping VikasB. Now I'm able to render the message id with: <p>${kudoedMessage.message.id}</p> But I don't understand why I'm unable to render the rest of the message fields. Logically, when I check the message data structure, I should be able to get those field like that : <p>${kudoedMessage.message.subject}</p> <p>${kudoedMessage.message.post_time}</p> <p>${kudoedMessage.message.author.login}</p> Get kudoed messages by user Hi everyone, I'm trying to display all the messages kudoed by a user in his profile page. This is currently not working in my component. I think the problem come maybe from the last query in the listing but I can't figure what's wrong. This is what I have: <#assign currentUserid = page.context.user???then(page.context.user.id, user.id) /> <#assign kudoedMessages = restadmin("2.0", "/search?q=" + ("SELECT message.id FROM kudos WHERE user.id = '${currentUserid}'")?url).data.items![] /> <#list kudoedMessages as kudoedMessage> <#assign kudoedMessage = rest("2.0","/search?q=" + "SELECT * FROM messages WHERE id='${message.id}'"?url).data.items![] /> <p>${kudoedMessage.id}</p> </#list> (Last quick question: Is it possible to "var_dump" variable in Freemarker? I have a hard time to get the property I need when in 2nd level query ) SolvedRe: User profile page feed Thank you very much TariqHussain For the "mark as solution" query I want the answer marked by the user, not the post. Also, is it possible to re-order all activities by date without taking the type in consideration? (I dont want to have all the reply and then all the like, etc.) User profile page feed Hello everyone, I'm trying to achieve something quite difficult for my current knowledge in lithium so a little help to build the rest query will by very appreciated. When visiting a user profile page, I want to display a feed of the last 10 activities of that user including: - Replied to a message or comment (display the user comment) - Kudoed a message or comment (display the kudoed comment) - Marked a comment as solution (display the solution comment) order those activity by date (most recent on top) SolvedRender post differently if it's from an admin in a post listing (ex:add a class or more content) I have a listing of posts and I want to check if the post author is an admin. I just want to add a css class and a image icon in that case. I'm still a little bit lost in the documentation. thanks you! SolvedRe: How to display avatar and login name of the current logged user in a custom document Does this make sense? <!-- display the avatar of current logged user --> <#assign avatar_url = rest("users/id/" + user.id + "/profiles/avatar?restapi.response_format=json").image.url![]/> <img src="${avatar_url}" alt="user-avatar"> <!-- display the login name --> <a href="/t5/user/viewprofilepage/user-id/${user.id}">${user.login}</a> How to display avatar and login name of the current logged user in a custom document Hi, I'm new to lithium and I'm try to get my head around something. I'm trying to understand how to query the info of the current user and display it in a freemarker custom component (it's for a custom top menu). I need the first name, last name, login name and avatar. But it's more how to build the query to get the user of the current session. Thanks a lot. SolvedHow can I see the freemarker code of a default component How can I see the freemarker code of a default component in the studio? I want to override a default component but I have no way to see the code of that basic component to use as a base for the new component. The only component's code I can see are the custom one. Thanks you! Solved