We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7923
    • 4,213 Posts
    Quote from: Dragon at Jul 06, 2006, 04:09 PM

    Anyway move it to repository should be difficult cause there is a lot of part of code wich has to be in the template ... sad
    Repository has bbcode functionality too, so you can make the "code blocks" sameway there as you can in the forums..


      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
      • 25991
      • 13 Posts
      Hi everybody,

      Sorry to say that but the update is empty

      * NeatFAQMooupdate.txt (0 KB - downloaded 3 times.)

      Please could you upload it again?

      Thanks
      Nathalie
        • 11975
        • 2,542 Posts
        Quote from: Dragon at Jul 06, 2006, 04:09 PM

        Anyway move it to repository should be difficult cause there is a lot of part of code wich has to be in the template ... sad

        Why not use regClientStartupScript and regClientScript to automatically add the js call in the template.

        P.S: I’ve never been able to make these functions work but Doze use them successfully in Maxigallery
          Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
          • 7963
          • 67 Posts
          Quote from: salsachica at Jul 07, 2006, 06:35 AM

          Hi everybody,

          Sorry to say that but the update is empty

          * NeatFAQMooupdate.txt (0 KB - downloaded 3 times.)

          Please could you upload it again?

          Thanks
          Nathalie

          I see it 1.03 KB ... and it’s ok as well at work and at home ... Cant’ you see it on first topic ?

          heliotrope I’m not a very good coder, I’m a designer first of all and I’m not shure to be able to do that sad

          I will post it in the repository wink
            • 20761
            • 27 Posts
            i can see it on the first post too,
            but the new file says "update" so probably the first file doesn’t work anymore?
            anyways, i get a empty file also.
              • 7963
              • 67 Posts
              and now if you try again ? (see first message)
                • 20761
                • 27 Posts
                perfect!
                  • 4273
                  • 356 Posts
                  how to call this in a page ? it’s somewhat confusing how this thing works is it a snippet ?

                  $resourceparent = isset($faqid) ? $faqid : $etomite->documentIdentifier;
                  // the folder that contains blog entries

                  do we replace $faqid with page idi like this $75 ? ?

                  I think i have everything set up properly but the links do not fold in/out the open/close javascript doesn’t do anything

                  does the snippet have to be named anything inparticular ? I called it faq-2 just to test it and I can see the list of questions and the links but nothing happens, it shows the complete list with questions and answers
                    SMF Bookmark Mod - check it out
                    http://mods.simplemachines.org/index.php?mod=350
                    • 17717
                    • 433 Posts
                    Sorry, folks, I know its an old thread but I too have no idea how to call this snippet.

                    Thanks
                    Lee
                      http://www.blend.uk.com | Web Design by Blend
                      • 7963
                      • 67 Posts
                      Hello,
                      Quote from: lw-d at Feb 28, 2007, 12:32 PM

                      Sorry, folks, I know its an old thread but I too have no idea how to call this snippet.
                      No problem, Im’ going to explain you what I’ve made :

                      For my Faq, i’ve made a folder call ’ESRI’ (http://www.portailsig.org/faq/item-faq-esri.html) - Snippet use is not this one but ListGlobal my snippet is use later
                      Then a folder "Le petit monde d’ArcGIS" where I’m use my snippet : it ID is 319 so i’m calling snippet with : [[NeatFAQMoo?faqid=319]]

                      -> result : http://www.portailsig.org/faq/faq-esri/item-monde-arcgis.html

                      Then folder containing as many item it need : i’ve done 1 item for 1 question ... Question in the title of item, and answer in the content. (in this example 7 items)
                      NeatFAQ will list as many item as it find in the folder where you put the snippet smiley

                      Hope you will understand my english, tell me if it’s not well understandable

                      See you