We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4723
    • 0 Posts
    MODX Revolution 2.1.1-pl (traditional)
    mysql 5.1.52
    PHP 5.2.15

    The problem that I’m having is that, although comments have been made, approved, and are successfully stored in the backend, they are not counted or displayed. I think the problem might be my own stupidity, but I’ve been trying to fix it for weeks with no success. I most likely may have misunderstood how to set up the reply Resource, so I will start with that.

    My resource, titled "Reply to Thread", aliased "reply", and with and ID of 17 contains:

    <h2>Reply to Thread</h2>
    [[!Quip]]
    <br />
    [[!QuipReply]]
    


    My Quip call, in the blog template looks like:

    [[!Quip?
    	&thread=`blog-post-[[*id]]`
    	&replyResourceId=`17`
    	&closeAfter=`0`
    	&useCss=`0`
    ]]
    


    QuipReply, which I don’t appear to have any problem with, looks like the following:

    [[!QuipReply?
    	&thread=`blog-post-[[*id]]`
    	&useGravatar=`0`
    	&notifyEmails=`[email protected]`	
    	&closeAfter=`0`
    ]]
    


    I can see in the manager, that my threads are named blog-post-[[id]] (where [[id]] is the corresponding number). I can also see that the comments are there and amount to 6. My QuipCount looks like the following, but only ever displays Comments(0).

            <a href="[[~[[+id]]]]#comments" class="comments">
                Comments ([[QuipCount? &thread=`blog-post-[[*id]]`]])
            </a>
    


    I appreciate any advice/help/suggestions... I’m really frustrated with this.
      • 32316
      • 387 Posts
      Maybe call QuipCount uncached

      Like this:
      <a href="[[~[[+id]]]]#comments" class="comments">
          Comments ([[!QuipCount? &thread=`blog-post-[[*id]]`]])
      </a>

        • 4723
        • 0 Posts
        Thanks for the suggestion, but I’m afraid to say that there was no change :/ Comments still display as (0)
          • 32316
          • 387 Posts
          Did you clear the site cache?
            • 4723
            • 0 Posts
            Yes, I did
            • What version of Quip?