ContributionsMost RecentMost LikesSolutionsRe: How to check if a standard component has content? Thank youAdamNit works exactly as i needed! How to check if a standard component has content? Hi all, Is there a way to check if a standard component has content? I'm using<@component id="solutions.widget.accepted-solutions-leaderboard-taplet"/> with a custom title added before in html, and i'd like to display the title only if the component has contant. Thanks in advance. SolvedFilter search page directly from homepage Hi all, I'd like to be able to filter the search results directly from the search bar in homepage. In particular I'm looking for way to add a widget-filter to select the type of content to be searched (TKB / Forum etc..) which would be added to the main search bar in the website (basically the CommunityHero quilt). If I try to usethe widget <component id="search.widget.type-filter" isDropDown="false"/>(that does exactly what i need in the Search Result Page) the community crashes. I've already contacted the support which confirmed that there is no way to add that widget to the quilt I need. Last info is that the search.widget.type-filter works in an ajax fashon adding dinamically to the url the following GET parameters: filter=includeForums&include_forums=true filter=includeTkbs&include_tkbs=true filter=includeTkbs,includeForums&include_tkbs=true&include_forums=true Thank you! Re: Redirect user registered with SSO but with profile incomplete No, I simply get redirected to the wrong page i.e.: webuisupport.urls.page.name.ViewProfilePage.path("user-id",user.id?string).build() Redirect user registered with SSO but with profile incomplete Hi all, I have a community with SSO, and I need to redirect users that does not have a complete profile to the complete profile page. I've tried the following code, in Common.init, which does not work: <#if page.name == "UserProfileRedirect"> <#assign redirect_url = "/" /> <#attempt> <#if user.registered && user.registration.complete == false> <#assign redirect_url = webuisupport.urls.page.name.UserSsoRegistrationPage.build() /> </#else> <#assign redirect_url = webuisupport.urls.page.name.ViewProfilePage.path("user-id",user.id?string).build() /> </#if> <#recover> </#attempt> ${http.response.setRedirectUrl(redirect_url)} </#if> Almost the same code works perfectly to render a button: <#if user.registration.complete == false > <a href="${webuisupport.urls.page.name.UserSsoRegistrationPage.build()}">COMPLETE PROFILE</a> <#else> <a href="#">PROFILE OK</a> </#if> Thanks in advance SolvedRe: Changing custom avatar TariqGrazitti wrote: @wearesocialit- Here is an API call to update the user avatar, you will need to create a script which will loop through all the users and will update avatar for each. Also, you need to create a mapping logic which will return you new avatar corresponds to old one. Thanks Tariq Hussain It turned out that it was a lot simpler than what we were thinking: it is possible to simply delete the old version of the avatar and upload a file with the exact same name. Re: Changing custom avatar HiTariqHussain, thanks for the answer, but from where in studio can I run scripts on lithium? Should I put the script in a custom component or do that "on demand" when a page needs it? Re: Changing custom avatar Yes, but i don't want a single backup for errors I need replace each avatar with its corresponding updated... Changing custom avatar Hi, Is there a way to change a custom avatar set that I've used, so that every user has the corresponding new image? From what I've seen in this threadhttps://community.lithium.com/t5/Developer-Discussion/How-to-replace-default-set-of-avatars/m-p/277884 this can be done only by professional services but I want to double check. Thanks in advance cheers SolvedRe: Email template header and footer In which language are the templates done? It does not seem like freemarker: <head> #if($isAccepter) <title>whathever</title> #else <title>${community.title}</title> #end </head>