ContributionsMost RecentMost LikesSolutionsRe: Exposing a rankThat did the trick, thank you so much! Interesting that an API call must be made, but some reason I thought it was just a variable you can call upon. Thanks so much Varun!!!Exposing a rank Hey Folks, Sorry for the newbie q but I was just wondering if anyone has successfully exposed a user ranking in the front-end tothe user (based on who the user is, not a hardcoded rank). I was trying to run a simple component that has 'rank - ${rank.name} ' but it is evaluating as null/ missing. Any thoughts? -Y SolvedRe: Target a user's role via freemarker ChiaraSVarunGrazitti Thank you both for the info! Going to try it out for our personalized experience and will report back. Cheers, Yuri K. Target a user's role via freemarker Hey folks, Wanted to see if anyone ever implemented something similar: We learned how to target anonymous users with the following syntax: <#if user.anonymous == true> User is anonymous. Display anonymous message here. <#else> User is authenticated. Display authenticted message here. You <em>can</em> <u>also</u> <strong>use</strong> HTML! </#if> However, I was wondering if someone could share the syntax to target multiple user roles, e.g.: <#if user.role == Admin | Author | LithiumAuthor> User has a role of admin or author or lithiumauthor and thus should see this <#else> if they do not have that role, they should see this </#if> Thanks for any insights, Y Re: custom code only on 2 pagesContains works great for something like /word/uniqueword.html but if you want to then also put it on /word (but only that main page, so you dont want /word/a.html and /word/b.html ... to be included However, the starts_with and ends_with should solve that issue, as I believe you can do the ends_win /word and it should drop all the rest. Cheers, Yuri K. Re: custom code only on 2 pagesThanks so much, that did the trick :) now just need to figure out how to do 'equals' instead of 'contains'. Cheers! :)custom code only on 2 pages Dear community, Does anyone have an example of how we could use thepage FreeMarker context object (http://community.lithium.com/t5/Developers-Knowledge-Base/page-FreeMarker-context-object/ta-p/9331) tospecify a code to run only on two pages (based on URL). Context: we have a remarketing code snippet that we want to fire when a user goes to two specific pages. Lithium said that we can only do this via the skin part, but that will enable this snippet on all pages. We only want it on the main page (e.g. /#) and a board (e.g./t5/community/b/AwesomeBoard) Thus, was wondering if someone could assist in showing an example e.g. (sorry for the terrible syntax) : <#ifpage.isLink(url || url)> <code snippet here> </#if> Thanks a lot, Y Solved