Home Service Manager Portal Feature Requests
We appreciate you taking the time to vote and add your suggestions to make our products awesome! Your request will be submitted to the community for review and inclusion into the backlog.

We recommend reviewing what is submitted before posting, in case your idea has already been submitted by another community member. If it has been submitted, vote for that existing feature request (by clicking the up arrow) to increase its opportunity of being added to Cireson solutions.

For more information around feature requests in the Cireson Community click here.

Lock or Disable comments on individual KA's in the portal

L_SchickL_Schick Member Advanced IT Monkey ✭✭✭
We have some Knowledge Articles we would like to be read only and not allow comments on. Mainly these are more company policy/procedure type articles that we require users to review, but do not want feedback added to the article
12 votes

Submitted · Last Updated

Comments

  • Chris_KeanderChris_Keander Customer Advanced IT Monkey ✭✭✭
    Great suggestion.
  • Nicholas_VelichNicholas_Velich Cireson Consultant Ninja IT Monkey ✭✭✭✭
    edited June 2016
    This can currently be accomplished using the following code in your CustomSpace/custom.js file:


    $(document).ready(function (){
            var url = window.location.href;
            if(url.indexOf("/KnowledgeBase/View/1") > -1){ // Verify we are on the appropriate KB page by number
                    setTimeout(function() { // Comments section is not ready when the document is ready, so this delay is necessary
                            $('.article-comment-rating').hide();
                    },1000);
            }
    });


    You will need to replace the URL on line 3 with the appropriate KB number/URL. If you have multiple articles you want to apply this to, multiple URLs can be added to that if statement using the || operator. For example:

    if(url.indexOf("/KnowledgeBase/View/1") > -1 || url.indexOf("/KnowledgeBase/View/2") > -1 ){
  • L_SchickL_Schick Member Advanced IT Monkey ✭✭✭
    Wonderful, that did it! It would be nice to have this as an option from the portal itself without editing the custom file, but this does exactly what we need for now. Thank You!
Sign In or Register to comment.