We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30128
    • 78 Posts
    This is supposed to work with MODx 0.9.6 right?

    I can’t get the "slideshows" to work. I can get slidebox and lightboxv2 to display the picture, but I’m not able to get the "slideshow" effect so that I can click on the image to go next. When I click on the image, it just close down.

    I’ve tried several different calls.. my current is this standard one:
    [[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_per_row=`4` &max_thumb_size=`110` &max_pic_size=`450` &thumb_use_dropshadow=`1` &manager_webgroups=`Editors`]]


    I’ve used the Wiki-explanation to set up front-end creation of galleries, so the call above is actually made inside the ’gallerymain’ chunk.

    A further problem is that when I create a new album, I’m not able to add picutres right away - I just come to the new page with the "Manage Pictures" button. However, this button doesn’t work. I *do* get the button to work if I’m logged into the backend too, though.

    So, I assume here may be some javascript problems? Since, the difference is that when I’m logged into the backend, the quickEdit stuff is added to the page. But shouldn’t all these features work seamlessly together with MaxiGallery when I use MaxiGallery 0.5.2 and MODx 0.9.6 ? I don’t do _any_ other mootools stuff on the page.


    Edit: The problem may be connected to the fact that for new galleries, the page is set to be cachable. But how can I hinder this?
      • 30128
      • 78 Posts
      Wohoo! The problem was connected to the fact that had this call:
      [[MaxiGallery? &display=`embedded` &embedtype=`slidebox` &gal_query_ids=`all` &order_by=`date` &limit=`3` &max_thumb_size=`110 &thumb_use_dropshadow=`1`]]
      in the template that. I removed it from the template used to display galleries and now must stuff work.

      I still got some questions though smiley

      1) I have the call above in the main template. What I want is to just show some new and/or random pictures from all galleries, like teaser. Also, I want that when you click on a image, you go to the gallery for that image. This doesn’t work now.. I need to make some other call somehow. I can’t use a childgallery call since this will be called from every page.

      2) The main gallery page has a childgallery call like this:
      [[MaxiGallery? &pics_in_a_row=`3` &childgalleries_ids=`all` &display=`childgalleries` &order_by=`random` &childgalleries_order_by=`createdon`]]
      Is there some way I can alter this call such that it will display more than one picture from each childgallery?

      3) The embed type I like best, slidebox, doesn’t work - it doesnt’ display the next picture when I click on it. Instead it just closes the picture. slimbox and lightboxv2 works fairly well but are a bit distorted. This is maybe just some css of mine. I’d rather get slidebox to work, though. Any conflicts with slidebox and the current MODx?
        • 7923
        • 4,213 Posts
        Quote from: tjalve at Aug 11, 2007, 05:13 PM

        1) I have the call above in the main template. What I want is to just show some new and/or random pictures from all galleries, like teaser. Also, I want that when you click on a image, you go to the gallery for that image. This doesn’t work now.. I need to make some other call somehow. I can’t use a childgallery call since this will be called from every page.
        Use the query options to get new or random pictures from the galleries, see examples in the Wiki. Then do a custom galleryPictureTpl and make the link from the picture to be href="[~[+maxigallery.picture.gal_id+]~]", then it links to the gallery page instead of straight to the picture. But of course you cannot use the embedded display type to do this, because they open the pictures with javascript in an overlay div.
        Quote from: tjalve at Aug 11, 2007, 05:13 PM

        2) The main gallery page has a childgallery call like this:
        [[MaxiGallery? &pics_in_a_row=`3` &childgalleries_ids=`all` &display=`childgalleries` &order_by=`random` &childgalleries_order_by=`createdon`]]
        Is there some way I can alter this call such that it will display more than one picture from each childgallery?
        No, but you can list the documents with Ditto and in Ditto’s template, have a maxigallery call that get’s the pictures from that document (eg. &gal_query_ids=`[+id+]` etc..)
        Quote from: tjalve at Aug 11, 2007, 05:13 PM

        3) The embed type I like best, slidebox, doesn’t work - it doesnt’ display the next picture when I click on it. Instead it just closes the picture. slimbox and lightboxv2 works fairly well but are a bit distorted. This is maybe just some css of mine. I’d rather get slidebox to work, though. Any conflicts with slidebox and the current MODx?
        After you have set the embed type to slidebox, go to the picture management and click save changes. That makes maxigallery to generate the needed xml file for slidebox script.


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 30128
          • 78 Posts
          Ah - swell smiley Sorry for doubleposting, I thought maybe I had posted in an appropirate place, and didn’t see your answere here when I created the other post.

          1) Great - I had tried this method, but I used the embedded views, that’s why it didn’t work.

          3) This worked superbly! smiley Thx. I have the galleries set to slidebox by default though, from the very time the gallery is created.
            • 14828
            • 7 Posts
            Hello Doze,
            Is it possible, that you send me the slimbox version you have included to the MaxiGallery without the changes you have made? I use them for an own plugin and on the slimbox page is only a newer one available. When i am using the newer I have to use newer moottols an then I come in conflict with the MaxiGallery.

            Send the files to the emailadress in my profile.

            Thanks for your support.

            With best regards

            Joshua
              • 7923
              • 4,213 Posts
              Quote from: Jo_shi at Aug 24, 2007, 08:27 AM

              Is it possible, that you send me the slimbox version you have included to the MaxiGallery without the changes you have made?
              Nope sorry.. I think I don’t have the "clean" version from v1.31 slimbox. But I think that with a little bit of googling you can find it from some where.


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                • 27889
                • 415 Posts
                A very great gallery with mootools, :(e)2 photo gallery I’d like so see it in MaxiGallery wink
                  MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                  MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                  • 7923
                  • 4,213 Posts
                  Quote from: Soda at Aug 29, 2007, 07:07 AM

                  A very great gallery with mootools, :(e)2 photo gallery I’d like so see it in MaxiGallery wink
                  Hi, that looks very similar to smoothgallery, in the next version of smoothgallery, it’s possible to put the thumbnails in a separate div on the page. So I will not probably add this to MaxiGallery..

                  EDIT: Here is some Smoothgallery 2.0 demos. They do not show that the thumbnails can be in a separate div, but I remember that Jon said in #modx irc channel that it should be possible.. I’ll ask more information about that.

                  http://smoothgallery.jondesign.net/forums/viewtopic.php?id=852

                  http://smoothslideshow.jondesign.net/SmoothGallery-2.0/demo.html
                  http://smoothslideshow.jondesign.net/SmoothGallery-2.0/demogroup.html
                  http://smoothslideshow.jondesign.net/SmoothGallery-2.0/demoslide.html
                  http://smoothslideshow.jondesign.net/SmoothGallery-2.0/demohistory.html

                  EDIT2: Yeah.. now that I read the forum post more carefully, the "useExternalCarousel" option has been added in 1.1.2, so it will be possible once I update to SmoothGallery 2.0


                    "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                    • 27889
                    • 415 Posts
                    Good news, just I wanted.
                      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
                      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
                      • 23398
                      • 10 Posts
                      Hi Doze,

                      There is a problem with using MaxiGallery on hosting with safe_mode enabled:

                      move_uploaded_file(): SAFE MODE Restriction in effect.
                      The script whose uid is 578 is not allowed to access /assets/galleries/40 owned by uid 48


                      And in 2006 you suggested to use this solution:
                      http://modxcms.com/forums/index.php/topic,3843.msg29936/topicseen.html#msg29936

                      So, the question is - is there any new solutions without using ftp client?

                      Thanks for your work.