We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1778
    • 659 Posts
    Hi all,

    I need some help with Quip.

    What I’ve done :

    Following the intructions I put in a resource (ID#37) this code
    [[!Quip? &thread=`page[[*id]]` &replyResourceId=`38`]]
    [[!QuipReply]]
    


    Then in the resource ID#38 I put this code
    <h2>Reply to Thread</h2>
    [[!Quip]
    <br />
    [[!QuipReply]]
    


    In front-end, the resource ID#37 shows only the line :
    "Comments (0)", no form to post a comment, nothing else...

    Having a look at the code source of the page I have this
    <div class="quip">   <-- here is the Quip call
        <h3>Comments (0)</h3>
        <div id="quip-topofcomments-qcom"></div> <-- this div seems to be empty
    </div>
    <br>
    // here is the QuipReply call but there's nothing displayed here ...
    


    It sounds like if QuipReply was not processed... But I really don’t understand why !
    I had no problem with install (and the blue message successfully installed package...)
    I had flush all sessions as mentionned in the doc...
    I tried, with more or less parameters, no result...
    Same thing on my local install (on Win7, WAMP) and on my live server...
    Same thing on Chrome and FF...

    My live server config if this can help:

    Linux Debian Lenny
    Apache 2.2.11
    PHP 5.3.2-0 dotdeb.2
    MySQL 5.1.45
    MySQL Cient API : mysqlnd 5.0.7-dev - 091210 - $Revision: 294543 $

    Revo RC3#rev7058
    Quip 0.5.1-pl (last update)

    Thanks
    Regards


      • 28215
      • 4,149 Posts
      1. In your Reply to Thread, Resource, you only have one ending ] in the Quip call.
      2. You must pass ’thread’ to *both* Quip and QuipReply for it to work.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 1778
        • 659 Posts
        Hi Shaun,

        I’m really sorry to say that, but after corrections the problem still remains... I would say it’s worse! sad
        My code in resource #37
        [[!Quip? &thread=`page[[*id]]` &replyResourceId=`38`]] 
        <br />
        [[!QuipReply? &thread=`page[[*id]]` ]]  
        
        <hr />
        <div id="afterquip">Some text in another div below quip calls...</div>
        

        and code in resource#38
        <h2>Reply to Thread</h2>
        [[!Quip]] 
        <br />
        [[!QuipReply]] 
        


        Results return absolutely NOTHING, no Quip call (and no Comments(0) ), nor QuipReply, and more funky no ’<div id="afterquip">’.

        If I put only the Quip call in res#37 it returns "Comments(0)" and nothing else.

        I tried too to create another resource ID #39, with no "&replyResourceId", I expected to have a comment form displayed below the line "Comments(0)" with ability for the front-end user to add a new comment...
        The code in the res#39 is :
        <div id="test1">Some text before the quip calls</div>
        <hr />
        [[!Quip? &thread=`thread-[[*id]]` ]]
        [[!QuipReply? &thread=`thread-[[*id]]` ]]
        <hr />
        <div id="test2">Some text after the quip calls</div>
        
        // I tried too
        <div id="test1">Some text before the quip calls</div>
        <hr />
        [[!Quip? &thread=`thread-[[*id]]` &threading=`0` ]]
        [[!QuipReply? &thread=`thread-[[*id]]` ]]
        <hr />
        <div id="test2">Some text after the quip calls</div>
        

        This one returns absolutely NOTHING, no Quip and no div before and after the calls...
        If I remove the QuipReply call, the divs before and after are displayed, and the Quip call (ie "Comments(0)") is well displayed...


        Seems to be a problem with QuipReply or am I going totally crazy ? What am I doing wrong ?

        Thanks for your help... And sorry again...
        Cheers

        [EDIT]
        After another test on res#39 with this code
        <div id="test1">Some text before the quip calls</div>
        <hr />
        [[!Quip? &thread=`thread[[*id]]` ]]
        [[!QuipReply? ]]
        <hr />
        <div id="test2">Some text after the quip calls</div>
        


        Returns the Quip call (Comments(0)) but nothing else about Quip, the before and after divs are displayed well...
        Having a look at the page source the output looks like this
        <div id="test1">Some text before the quip calls</div>
        <hr>
        <div class="quip">
            <h3>Comments (0)</h3>
        	
            <div id="quip-topofcomments-qcom"></div>
            
        </div>
        <hr>
        <div id="test2">Some text after the quip calls</div>
        
          • 4971
          • 964 Posts
          Shaun,

          What anso used in his first thread is exactly what comes in the
          readme of the Quip extra/transport package...

          please revise when you have time...
            Website: www.mercologia.com
            MODX Revo Tutorials:  www.modxperience.com

            MODX Professional Partner
          • From the docs (http://svn.modxcms.com/docs/display/ADDON/Quip.Quip):

            Quote from: anso at Jul 03, 2010, 08:20 AM

            After another test on res#39 with this code
            <div id="test1">Some text before the quip calls</div>
            <hr />
            [[!Quip? &thread=`thread[[*id]]` ]]
            [[!QuipReply? ]]
            <hr />
            <div id="test2">Some text after the quip calls</div>
            


            Try
            <div id="test1">Some text before the quip calls</div>
            <hr />
            [[!Quip? &thread=`thread[[*id]]` ]]
            [[!QuipReply? &thread=`thread[[*id]]`]]
            <hr />
            <div id="test2">Some text after the quip calls</div>
            



            Just to check, there is a tplAddComment chunk installed with Quip?
              Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

              Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
              • 1778
              • 659 Posts
              Quote from: Mark at Jul 06, 2010, 09:36 AM

              From the docs (http://svn.modxcms.com/docs/display/ADDON/Quip.Quip):
              Try
              <div id="test1">Some text before the quip calls</div>
              <hr />
              [[!Quip? &thread=`thread[[*id]]` ]]
              [[!QuipReply? &thread=`thread[[*id]]`]]
              <hr />
              <div id="test2">Some text after the quip calls</div>
              

              Just to check, there is a tplAddComment chunk installed with Quip?
              Hi Mark,
              I tried all combinations, all the ones I found in the docs, and in the readme, with or without parameters, same (no) result.
              And yes all the Tpl are here, if you want a detail of the tests I’ve done have a look at http://github.com/splittingred/Quip/issues#issue/8, where I reported all what I’ve done directly to Shaun...

              Thanks
              Cheers

                • 34183
                • 23 Posts
                Any movement on this? We are having the same issue. Quip form not displaying in Revo2.1.1