ContributionsMost RecentMost LikesSolutionsremove comments from Q&A Hi, We are exploring the Q&A option to see if it fits our needs. When I check the out-of-the-box QA question page (qaq-p) in studio, I can see that the main content is all non-contract compontens. <add to="main-content"> <component id="question-view"/> <component id="solutions-with-toggle"/> <component id="answer-list-with-toggle"/> </add> Does anybody know if these non-contract components take parameters to tweak them further? eg. hide the comments section disable the answer button remove the custom tagging ... Thanks Re: show last edited date on TKB articles HariniVuppala , luk , thank you both for your replies. I will try these and see what works best for me. Do any of you have a similar way of showing the last edit date for TKB articles in the activity feeds? show last edited date on TKB articles Hi all, I have been struggling with a requirement we have for our TKB. OOO, Khoros shows the creation date for TKB articles. We regularly update our TKB articles and as such we want to show last edited date on TKB articles. Has anyone done the same and can guide me in the right direction? I have been trying to update the theme-lib.utility-macros to show the last_post_time but that does not seem to work. Any ideas would be appreciated. Thanks,. Erik Re: only show component if tkb article has a specific label VikasB Thanks Vikas, this is working now. Re: only show component if tkb article has a specific label VikasB Thanks, The query seems to be working, but only if I specify a hard coded message id. How do i get ${msgid} ? Thanks change date in tkb-p to last updated date Hi all, Does anybody know how to change the dates that are listed underneath each topic in the list on a tkb-p overview page? By default is seems to show the creation date, I would like to change this to the last updated date. only show component if tkb article has a specific label Hi All, I'm trying to develop a component that only shows up when a tkb article has a specific tag. I 'm new to freemarker and liql. This is what I have so far <#assign labels = webuisupport.path.parameters.name.get ("label-name","") /> <#if label??> <#list labels as label> ${label.text} </#list> </#if> <#if env.context.message.id??> <#assign messageId = env.context.message.id )> <#else> when-missing</#if> Neither of these seem to retrieve the labels. Any idea's or solutions? Thanks Kind regards, Erik Solvedset default searchGranularity Hi all, I was looking to set the search granularity default option to search only in TKB when the knowledge base was selected. I came up with this code and added this to a custom component. The custom component was added to the category_page. <#-- Sets the default search for knowledge center and TKB --> <#-- the coreNode.id will differ in your env. This is the id of nodes you wish to add this code to --> <#if coreNode.id == "<your node id>"> <@liaAddScript> ; (function ($) { $("#searchGranularity").val("<value you want to select>|category").change(); })(LITHIUM.jQuery); </@liaAddScript> </#if> <#-- the coreNode.id will differ in your env. This is the id of the nodes you wish to add this code to --> <#if coreNode.id == "<your node id>"> <@liaAddScript> ; (function ($) { $("#searchGranularity").val("<value you want to select>|tkb").change(); })(LITHIUM.jQuery); </@liaAddScript> </#if> Feel free to add comments and improvemetns. If you like this, kudos are alwayse nice! Add a copy button to a code box Hi all, it is easy enough to add a code box to a message, article or blog post. This will format the code and apply syntax highlighting. To improve the customer experience, we are looking for a way to add a copy button to any code box we insert into a message, article or blog. Clicking this button will add all text inside the code box to the clipboard. Does anybody have an idea how to add this func. to the codeboxes in Khoros? Re: Create different CSS styles for category pages VikasB creating a custom component on the category page worked. Thanks for sharing!