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

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

    Brief Description:
    EZfaq allows you to have an attractive, easily maintained FAQ page with drop-down answers.

    See a working example here:<a href="http://bobsguides.com/modx-faq.html">http://bobsguides.com/modx-faq.html</a>

    [Update]
    1.0.3
    Corrected error where END-FAQ was not always recognized

    1.0.2
    Corrected errors in readme.txt (no other changes)
    Tested and found to work with MODx 0.9.7.

    1.0.6 - Beta
      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
      • 32646
      • 87 Posts
      This is a great snippet. I really liked it when I saw it on your website and was planning on doing something similar (by hand) on mine.

      There are a few problems with the instructions. There are some errors in your example snippet calls:

      [[EZfaq &docID=`12` &statusOpenHTML=`<img srcEQUALS"assets/snippets/ezfaq/images/minus.png">` &statusClosedHTML=`<img srcEQUALS"assets/snippets/ezfaq.images/plus.png">`]]


      should be:
      EZfaq? and ezfaq/images/plus.png

      [[EZfaq? &docID=`12` &statusOpenHTML=`<img srcEQUALS"assets/snippets/ezfaq/images/minus.png">` &statusClosedHTML=`<img srcEQUALS"assets/snippets/ezfaq/images/plus.png">`]]


      Basically, you are missing the ? after EZfaq and you have a . where a / should be.

      Also forgot to mention the need to cut and paste the snippet call (that is needed for newbies like me).

      Other than that, great work.

      Eric
        Just learning the ropes.
        • 3749
        • 24,544 Posts
        Good eye. Thanks for giving it such a thorough look. smiley

        I’ve made those corrections and will upload 1.0.2 as soon as I check to see whether it will work in 0.9.7.

        Bob
          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
          • 3749
          • 24,544 Posts
          Version 1.0.2 now available. The only significant changes are corrections to readme.txt.

          Tested and found to work with MODx 0.9.7.

          1.0.1 works with 0.9.7 also. No need to upgrade unless the typos in the installation instructions gave you trouble.

          Bob
            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
            • 32646
            • 87 Posts
            Are you still working on the image inclusion part? I tried it and couldn’t get it to work. It didn’t look like there was any code in the snippet that would include the img part.
              Just learning the ropes.
              • 3749
              • 24,544 Posts
              Quote from: wordcooper at Feb 15, 2008, 07:05 AM

              Are you still working on the image inclusion part? I tried it and couldn’t get it to work. It didn’t look like there was any code in the snippet that would include the img part.

              Here is the working snippet call from bobsguides.com MODx FAQ (which definitely shows the images):

              <p>[[EZfaq? &docID=`32` &statusOpenHTML=`<img srcEQUALS"assets/snippets/ezfaq/images/minus2.png" />` &statusClosedHTML=`<img srcEQUALS"assets/snippets/ezfaq/images/plus2.png" />`]]</p>


              The image parameters should be the same as the example in readme.txt (at least in theory). wink

              The image reference should end up in the page source.

              Bob
                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
                • 27330
                • 884 Posts
                Great snippet thanks for sharing.

                btw, is there any limition as for what I can use with it?
                for example, can one have Flash movie inside the Q-A page and display it as an answer?
                  • 3749
                  • 24,544 Posts
                  Quote from: sinbad at Feb 24, 2008, 09:17 AM

                  btw, is there any limition as for what I can use with it?
                  for example, can one have Flash movie inside the Q-A page and display it as an answer?

                  I never tried it. Let me know. smiley

                  Bob
                    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
                    • 8749
                    • 7 Posts
                    I just installed the EZfaq and it does not work for me ;-(

                    1. I uploaded the zip file into the wrong directory (mea culpa), expanded it there, got eqfaq\image ... files (note the backslash)
                    I cannot delete these files anymore. Any hints?

                    2. I created the correct folders in assets/snippets and uploaded each file into the correct place.

                    3. I checked and think I followed exactly the instructions, changed the FAQ(39) pointing to FAQ-content(40) but the FAQ content just spits out the file as I wrote it with:


                    Q:How can I underline a word with BBCode?

                    A:Use in front of the underline word and after the underlined word

                    Q:Where can I buy a computer mouse?

                    A:At my famous store, of course.

                    Q:END-FAQ

                    Work in progress can go here and won’t be displayed

                    ---

                    What do I miss here?

                    bye

                    E.
                      • 3749
                      • 24,544 Posts
                      E.,

                      Sorry you’re having trouble. You should be able to delete the files in the wrong directory using Filemanager in Cpanel (or whatever your host provides).

                      It sounds like you might be missing the javascript files (or have javascript turned off in your browser?). Another possibility is that the .css file is missing or in the wrong place.

                      When you do a view source of your FAQ page, you should see these two lines in the header:

                      <link rel="stylesheet" type="text/css" href="assets/snippets/ezfaq/ezfaq.css" />
                      <script type="text/javascript" src="assets/snippets/ezfaq/switchcontent.js"></script>


                      Make sure they’re there and that those two files are in the locations listed there.

                      Bob
                        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