We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44191
    • 8 Posts
    Sounds like a very silly bug but it has driven me crazy. I just cannot find where to change the html. There is no quip chunks on my Modx or anything. I have looked on the quip files on the backend, and only found Js files and PHP which I've knowledge of, but am not a developer.

    Even a simple thing as the order of the sending button and preview (right now it is "post" then "preview" but it needs to be "preview" and then "post") needs to be changed, but I just don't know where to.

    I use Modx revolution 2.2.8,

    This is the link:
    http://www.imarda.com/articles-blog-home-11134434343434343434/imarda-hi-tech-awards-2013/

    Help please!

    This question has been answered by multiple community members. See the first response.

    • discuss.answer
      • 3749
      • 24,544 Posts
      I think Quip's Tpl "chunks" are all files. Look at this one:

      core\components\quip\elements\chunks\quipaddcomment.chunk.tpl



      Near the end, try changing this

      <button type="submit" name="[[+preview_action]]" value="1">[[%quip.preview]]</button>
          [[+can_post:is=`1`:then=`<button type="submit" name="[[+post_action]]" value="1">[[%quip.post]]</button>`]]


      to this

      [[+can_post:is=`1`:then=`<button type="submit" name="[[+post_action]]" value="1">[[%quip.post]]</button>`]]
      <button type="submit" name="[[+preview_action]]" value="1">[[%quip.preview]]</button>

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 44191
        • 8 Posts
        Thank you for your answer,

        Interesting enough, there is no folder in there called chunks. Only Js and Css (on image).

        I will re-install quip and see if maybe it turns up.
        Thankfully, my client said he can live with double colon. But I'm just very curious to know where are those files. They must be there somewhere!

        • discuss.answer
          • 3749
          • 24,544 Posts
          You're looking in the wrong directory. The chunks are under the core folder (core/components/quip)?

          The CSS and JS files are under the assets/components/quip folder.

          For the double colon, just take the : out of this line section:

          <div class="quip-fld">
                  <label for="quip-comment-name-[[+idprefix]]">[[%quip.name? &namespace=`quip` &topic=`default`]]:<span class="quip-error">[[+error.name]]</span></label>
                  <input type="text" name="name" id="quip-comment-name-[[+idprefix]]" value="[[+name]]" />
                  <br />
              </div>

          [ed. note: BobRay last edited this post 13 years, 3 months ago.]
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 44191
            • 8 Posts
            Thank you so very very much!
              • 3749
              • 24,544 Posts
              Glad I could help. smiley
                Did I help you? Buy me a beer
                Get my Book: MODX:The Official Guide
                MODX info for everyone: http://bobsguides.com/modx.html
                My MODX Extras
                Bob's Guides is now hosted at A2 MODX Hosting