ContributionsMost RecentMost LikesSolutionsRe: Ask a question setting in ADMIN hi john i think david was referring to this (david please if i'm mistaken) http://community.lithium.com/t5/Search-tools/Configure-the-Ask-a-Question-component/ta-p/108581 hi david i'm afraid the out-of-box Ask a Question can only retrieve content from Q&A only and Forum, no TKBs Re: ActiveCast widget not workinghi skylinegr, might be a backend config that's missing (can't quite remember, vaguely recall some cross-domain setting is needed??) Best is to check with Support, can you kindly log a support ticket?Re: SSO registration page strips anchor from URL when redirects hi iftomkins no workarounds that i'm aware of. but i do question if the URL fragment is really needed for your use case. by default, the "Reply" button is correctly mapped to the reply page message id so even after login redirection, it goes comes back reply page with the correct id (no need for the URL fragment) Re: SSO registration page strips anchor from URL when redirects hi iftomkins Afraid it's not possible. if I understand correctly, the browser will not send the URL fragment to server Here's a quote from: https://blog.httpwatch.com/2011/03/01/6-things-you-should-know-about-fragment-urls/ " 2. Fragments Are not Sent in HTTP Request Messages If you try using fragment URLs in an HTTP sniffer like HttpWatch, you’ll never see the fragment IDs in the requested URL or Referer header. The reason is that the fragment identifier is only used by the browser – it doesn’t affect which resource is returned from the server. " Since the Server never gets the URL fragment ID, it will not be able to redirect with any fragment ID Re: Kudos number showing twice hi ikhwanb by any chance, were you trying to make the desktop responsive? If so, i've a feeling it might be due to this: KudosCountLabel.kudos.title@device:mobile = {0,choice,0<{0}|999<1K+} KudosCountLabel.kudos.title = {0,choice,0#Kudos|1#Kudo|1< Kudos} try changing this KudosCountLabel.kudos.title@device:mobile = {0,choice,0#Kudos|1#Kudo|1< Kudos} Hope that helps ... otherwise, recommend logging a Support ticket to take a deeper dive Re: Could not encrypt buf: BouncyCodec encode failed hi nickz , I don't think it is correct to call the class method directly like this: LithiumSSOClient.writeLithiumCookie(ssoId, login, loginUser.getEmail(), chatParms, request, response); Believe you have to getInstance(), which requires sso key, etc, and then invoke the writeLithiumCookie method of that instance. Something like this: LithiumSSOClient ssoClient=LithiumSSOClient.getInstance(ssoKey.getRaw(), clientId, clientDomain, serverId); .... ssoClient.writeLithiumCookie(...) Hope that helps ... otherwise, kindly log a Support ticket and provide details of your coding Re: How to run Freemarker code on click? hi iftomkins from the screenshot, i roughly guessed your Community :-) took a look at your endpoint, instead of <#return "test"?json_string /> try this (since it's application/json - that's what you should be returning, the #return in freemarker is more for freemarker function calls) { "status": "ok" } the endpoint should work ... then the client-side ajax should be working too ... i hope Re: How to run Freemarker code on click? quite possibly the endpoint is not returning any data try changing your endpoint to return something (can be anything - eg. json/html/xml with success indicator etc) Re: How to run Freemarker code on click? hi iftomkins From what i understood, only the Services team via backend java endpoint is able to do the redirect (but that will require a Services engagement) If it's studio endpoint, i'm afraid you have to use javascript. Possibilities include: client-side ajax form post to endpoint (and upon success, do client-side window.location("/") to redirect) or add javascript to your endpoint that does client-side window.location("/") on load Re: How to run Freemarker code on click? hi iftomkins one suggestion is: write an endpoint, something like this: <#if user.registered> ... <#assign ideas_terms_accepted= http.request.parameters.name.get("ideas_terms_accepted", "false") /> <#if ideas_terms_accepted?? > ${rest("/users/self/profiles/name/ideas_terms_accepted/set?value=${ideas_terms_accepted}")} </#if> ... </#if> in studio, you will see a preview of your endpoint directly below, mouseover to get the url of your endpoint write a custom component that invokes the endpoint you can use a standard HTML form or AJAX call, which ever is preferred standard form is something like this: <form action="/<<relative url to your endpoint>>" method="post"> Click here to accept ideas terms:<input type="checkbox" name="ideas_terms_accepted" value="true" checked>I accept ideas term<br/> <input type="submit" value="Submit"> </form> the ajax will be similar to the link you provide, just change url to your endpoint add the above custom component to appropriate page quilt Hopefully that clarifies, otherwise probably best to reach out to your local Services team (via Sales or Support)