Comment Count Modification

Forums Comment box for SharePoint Comment Count Modification

This topic contains 1 reply, has 2 voices, and was last updated by  Alexander Bautz 1 year ago.

  • Author
    Posts
  • #11916

    Blake Reader
    Participant

    Hi Alexander,

    My current solution
    SP 2010
    1) Custom List used as ‘News’
    2) SPJS Comments
    3) Custom page for viewing each piece of ‘News’

    We are using the SPJS-Comment solution and made a small modification to this so ‘comments’ are shown against a list ID number which is in turn styled on a page. This is working perfectly and is showing comments against the right ‘News Article’. However today I have tried to add a comment count but this is not counting comments to the post correctly.

    Can you advise what we need to do to modify the comment script so it counts comments correctly?

    Just as an FYI, here is the settings we are currently using.

    Each list item is styled onto an ‘article.html’ page and each URL would be:
    ../SiteAssets/News/Pages/mainArticle.aspx?article=15

    /* Configuration object */
    var cBoxArg = {
    “placeholderID”:pID,
    “threadID”:location.pathname+(GetUrlKeyValue(“ID”) !== “” ? “?ID=”+GetUrlKeyValue(“ID”) : “”),
    “blogMode”:true,// Set this to true if you use this with a blog

    We wrapped this all in its own Div:
    <div id=”commentSuperContainer” style=”width: 100%; height: 100%; margin: 0; padding: 0;”></div>

    ————————————————————

    Any idea what we need to modify to get the comment count working correctly?

  • #11977

    Alexander Bautz
    Keymaster

    Hi,
    Sorry for the delay. Did you check out the comment count option in the latest release of cBox? – http://spjsblog.com/commentbox-for-sharepoint/commentbox-change-log/

    Alexander

You must be logged in to reply to this topic.