Forum Discussion
DougS
12 years agoKhoros Oracle
Unfortunately the message highlighting functionality is not there for ideas. However, you could implement a customization to do this via Studio. Here's what you could do in Studio:
- Go to the components tab and add a component named "idea-comment-highlighter".
- Add the following markup to the component and save it (the @liaAddScript directive will add some javascript to the bottom of the page, so it runs after the DOM has loaded):
-
<#if page.context.message??> <#if (page.context.message.discussionStyle == "idea") && (env.context.message??)> <#if env.context.message.uniqueId == page.context.message.uniqueId> <@liaAddScript> ;(function($) { $(".lia-js-data-messageUid-${env.context.message.uniqueId}").addClass("lia-effect-highlight"); })(LITHIUM.jQuery); </@liaAddScript> </#if> </#if> </#if>
- Go to the pages tab and open the "Comment Message" page.
- Add the "idea-comment-highlighter" custom component to the page (it doesn't have any ui, just adds some javascript if it's an idea comment and the message id of the comment matches the message id in the url so should be able to add it to any of the columns on the page).
Use at your own risk (and make sure you test). Hope that helps!
-Doug
Related Content
- 7 months ago
- 8 months ago
- 6 months ago
- 8 months ago
- 8 months ago