We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    This is an auto-generated topic for <a href="http://modxcms.com/extras/package/538">Quip 0.4-rc3</a> by splittingred.

    Brief Description:
    A simple commenting system for MODx Revolution, complete with a backend management interface.



    Users who have overridden the default chunks in their installs may need to update those chunks to include a few new hidden fields, including reCaptcha support.



    - Added QuipLatestComments snippet

    - Added ability to directly link to specific comments



    See official documentation here:

    <a href="http://svn.modxcms.com/docs/display/ADDON/Quip">http://svn.modxcms.com/docs/display/ADDON/Quip</a>
      • 31037
      • 358 Posts
      Thanks for a great snippet.

      Don’t know if this is a Quip issue or an "IF" issue, but:

      When I try using Quip whith a snippet call from inside the "IF" snippet, it doesn’t display at all. 0.3 did display, but just reloaded the page when submitting, without anything happening. It seems to break the IF snippet, when I put some content before the Quip call that content doesn’t display either. When I use same call outside the IF snippet it works fine.

      [[If?
      &subject=`[[*id]]`
      &operator=`gt`
      &operand=`100`
      &then=`test - [[!Quip? &thread=`[[*id]]`]]`
      ]]

      Use latest QUIP, IF and Revo RC-1.
        • 28215
        • 4,149 Posts
        Try calling If uncached: [[!If
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 31037
          • 358 Posts
          Same result with every cached/uncached combination I try... that means no display of the comment form.

          Using the IF snippet isn’t important, I can solve it in another way, but perhaps someone else will have the same problem so it might be worth looking into.

          EDIT: With the new Quip just released I can display the comments inside IF snippet, but not the form for entering new comments. It is that part that seems to break with IF. But I’ll test some more later. Very cool new functionality btw! (I think there is a typo in the new instructions, it says "threading" where I think it should be "threaded"?


            • 31037
            • 358 Posts
            I’ve been testing this a bit more and I get strange results, I must be missing something obvious.

            When I call the reply part of Quip like this:
            [[!QuipReply? &thread=`[[*id]]`]]
            it works fine.

            When I try:
            [[If?
            &subject=`[[*pagetype]]`
            &operand=``
            &then=`

            [[!QuipReply? &thread=`[[*id]]`]]
            `
            ]]

            or when I try:

            [[*pagetype:ifempty=`Test
            [[!QuipReply? &thread=`[[*id]]`]] `]]

            then the form for submitting comments doesn’t show up (nor does the text "Test").

            I’ve tried cached and uncached in all combinations I can think of. The condition for "pagetype" is true, works fine without the QuipReply call. Also I use the IF snippet together with other snippets without problems, as well as the list comments part. That’s why I ask here in the Quip thread.

            What am I missing here?

            Thanks for any help.