We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31136
    • 72 Posts
    This is an auto-generated support/comment thread for Quill.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    Quill increases usage of MODx documents.

    !QUILL NEEDS RIGHT ENGLISH DOCUMENTATION.
    WHO SPEAK ENGLISH WELL — PLEASE HELP TO CREATE IT!
      • 8960
      • 150 Posts
      I read the descriptions for this plugin (Quill increases usage of MODx documents. With snippet you can bind documents to TV, show and use controls of TV and more.), but I still don’t think I understand what this is for or how would I use it.

      Can you give a scenario or two on how this plugin fits into life in MODx?
        • 7231
        • 4,205 Posts
        It provides an interface to make it easy to bind list TVs with modx documents. This is very handy, I use this sort of binding all of the time. I will install it and give it a try. The indent feature is great.  grin

        Tip: Download the snippet and see the readme, some of the instructions were rendered in the online version so you are not seeing the entire code example.
          [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

          Something is happening here, but you don't know what it is.
          Do you, Mr. Jones? - [bob dylan]
          • 29774
          • 386 Posts
          Urique, this is brilliant. Thank you!
            Snippets: GoogleMap | FileDetails | Related Plugin: SSL
            • 7231
            • 4,205 Posts
            I followed the example and everything worked great. However I get some extra characters before the first option so it displays like this:
            USD


            It is not in the name of the first option since I can edit the order and the first option will always have the extra encoding.
              [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

              Something is happening here, but you don't know what it is.
              Do you, Mr. Jones? - [bob dylan]
              • 31136
              • 72 Posts
              Quote from: dev_cw at Aug 29, 2008, 06:53 AM

              However I get some extra characters before the first option so it displays like this:
              USD

              It is not in the name of the first option since I can edit the order and the first option will always have the extra encoding.

              Thanks for question!
              To resolve this trouble, I need to see your:

              • MODx language and charachter encoding
              • Piece of html-code generated by Quill (options)
              • Quill call string from TV (elements string).
                • 7231
                • 4,205 Posts
                Setting the character encoding to utf8 resolved the issue. The site was set to iso-8859-1 when the encoding came through. If I switch it back the code shows up again.

                <p><select id="tvprice_currency" name="tvprice_currency" size="1"><option value="72">JPY</option>...
                  [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

                  Something is happening here, but you don&#39;t know what it is.
                  Do you, Mr. Jones? - [bob dylan]
                  • 31136
                  • 72 Posts
                  Quote from: dev_cw at Aug 29, 2008, 10:41 AM

                  Setting the character encoding to utf8 resolved the issue. The site was set to iso-8859-1 when the encoding came through. If I switch it back the code shows up again.

                  <p><select id="tvprice_currency" name="tvprice_currency" size="1"><option value="72">JPY</option>...


                  Ok.
                  Did you use ’control’ or ’list’ mode? If there was ’list’ mode, Quill cannot add that symbols, because it only returns options-string to MODx, and MODx builds a control.

                  To get the answer:

                  • Try to paste you Quill calling string to any doc and show me generated HTML
                  • Show me Quill calling string that you use
                    • 27330
                    • 884 Posts
                    This is a great snippet and thanks for sharing your work!

                    is there a way to control the output name of a tag when used in control mode?
                    for example, I have a drop down tv called product-size with this
                    XS||SM||MED||LG||XL||2XL

                    right now the select name of the list is tvproduct-size however on the form I want the name to be just size .

                    is this possible with Quill?
                      • 31136
                      • 72 Posts
                      No, because Quill use modx API to generate control. This API automatically sets control name by adding "tv" prefix.
                      In future versions I try to find a way to do this. Now you can just minimize tv-name only, to optimize control name.

                      P.S. Speak english a little - learning…