We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6124
    • 9 Posts
    The problem disappeared after reinstalling Denwer. Works such call:
    [!EvoGallery? &docId=`[*id*]`!]
    Thank you all for your comments
      • 9995
      • 1,613 Posts
      When i click on a link then the fancybox should popup and i can navigate true all images.
      How to make a single textlink which previews all images?

      With thumbs i know how to do that, what href do i need to set or can this be done different?

        Evolution user, I like the back-end speed and simplicity smiley
        • 9995
        • 1,613 Posts
        i managed to do it by use 1 call with &limit=`1` and 1 call with no limit, but then i have one image which is double sad
          Evolution user, I like the back-end speed and simplicity smiley
          • 9198
          • 100 Posts
          fourroses666
          Try this in tpl.default.txt
          <script type="text/javascript">
          jQuery(document).ready(function(){
            //Add Fancybox code
            jQuery("#showall").click( function() {
              jQuery("#myGallery a:first").trigger("click");
            });
          });
          </script>
          <a id="showall" href="#">Show all</a>
          <div id="myGallery">
          [+items+]
          </div>
          


          If you want hide images you may set display none in CSS
            • 9995
            • 1,613 Posts
            It’s for EVO, added the code into the ul tpl. the tpl.default.txt is prolly for REV?
            Seems the js code isn’t working for me.

            I’ll try css.


              Evolution user, I like the back-end speed and simplicity smiley
              • 18373 ☆ A M B ☆
              • 3,141 Posts
              You’ll need to have jQuery on your page for that to work and obviously make sure the references are good.

              And as EvoGallery is.. for Evo, I don’t think there’s Revo code tongue
                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.
                • 9198
                • 100 Posts
                If you use EvoGallery post all templates.
                  • 9995
                  • 1,613 Posts
                  because i’m really out of time, i did some overflow:hidden because i couldn’t get it fixed and can’t spend too much time on this, prolly indeed the loading of jquery was the problem here although i am loading some jquery but prolly not the needed one?!.

                  anyway, thanks for ur time guys.
                    Evolution user, I like the back-end speed and simplicity smiley
                    • 9198
                    • 100 Posts
                    You wrote that you use Fancybox, which use jQuery, so I’m wrote example in jQuery because this already must be.
                      • 9995
                      • 1,613 Posts
                      ye ur rite, i dunno why it didn’t worked.
                        Evolution user, I like the back-end speed and simplicity smiley