We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4018
    • 1,131 Posts
    @Photowebmax: Hmm...I’ll have to test that myself as well. Very interesting indeed.
      Jeff Whitfield

      "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
      • 23299
      • 1,161 Posts
      Quote from: Bravado at May 21, 2010, 03:02 PM

      @Photowebmax: What I would do for a banner area is to create a page that is used simply to manage the photos for the banner as well as any extra parameters for it. That way you could create a "banner" template and have different banner configs saved under a "banner" container. Then, for the EvoGallery snippet call, you would simply call it with the ’docId’ parameter and pass in the ID of the page with the banner images you want. Cool thing about this is that you can use a TV and save the ID of the banner page to use using a simple TV. Make sense?

      This is sort of what I did, but your method sounds more polished.

      I can see where having the snippet call in a TV might be useful. For example: you could have different sets of images that will display in the banner and these sets could be chosen via the TV?

      If I add the docId parameter how do I set up the TV?

      This is way cool!!! Now that Steve Jobs has shone a thousand watt lightbulb on the whole "does the world need Flash?" topic this seems like a handy tool to have. The thing I like is that this system seems like it could work well for site owners who do not want to touch code or use a FTP client to upload images into the proper folder etc...

      Nicely done SIR!!!!!!!!

        • 4018
        • 1,131 Posts
        Quote from: Photowebmax at May 21, 2010, 03:23 PM

        If I add the docId parameter how do I set up the TV?

        Well, what I would do is create an unpublished container called "Banners" and just create a bunch of pages with various images associated with each one via EvoGallery. From there, I would create a simple text TV called ’bannerId’ or the like with a label of ’Banner ID’ and associate it with any templates where the banner will show up on. Just make sure you give it a default value of a banner page ID, else your banner area will be blank on new pages that don’t have an ID assigned to the TV. Once you do that, you should be able to set an EvoGallery call in your chunk to something like this:

        [[EvoGallery? &display=`images` &type=`jquery-cycle` &docId=`[*bannerId*]`]]


        One other slick thing you could do is set the bannerId tv to a dropdown and use some @BINDING to set the default options to the children of the "Banners" container. smiley
          Jeff Whitfield

          "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
          • 23299
          • 1,161 Posts
          Got it I think. Thanks!

          This whole module is sparking my imagination for all kinds of image presentation options. I have messed around with a bunch of JQuery image presentation solutions. This EvoGallery looks like it brings that function into MODx very nicely. This really helps with end users. I find that well documented TV’s are easy to understand for end users. Being able to customize groups of cycle scripted images into actual pages or the header/banner within the MODx templates is like having the proverbial cake and eating too.

          Thanks again...
            • 33208
            • 21 Posts
            Okay guys,

            very strange but it works in IE 8 and not in Firefox 3.6.3!! I have no idea why, I have tested it again just to be sure I wasnt going crazy!! :’( Anyway all good now and I am playing with the features.

            Many Thanks

            Yosh grin
              • 27421
              • 67 Posts
              I’m using OS 10.5.8. Latest version of the Flash player and I tried it in both latest Safari and Firefox. I don’t have ModX running locally. It does seem like this is something client side and not related to PHP. The Upload Files link is totally non-responsive, like it’s not even making an AJAX call.
                • 4018
                • 1,131 Posts
                bodhiC, whenever you initiate an upload the server access logs should show a connection to the check.php file followed by connections to the upload.php with Flash. There’s a possibility that maybe something is blocking Flash from posting things to the uploader. I’ve viewed some posts on the Uploadify website and I can tell you that debugging Uploadify is indeed one rub...it’s difficult!...especially with Flash involved! There is talk about building in some debugging capabilities, which would be great.
                  Jeff Whitfield

                  "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
                  • 36926
                  • 701 Posts
                  Quote from: Bravado at May 21, 2010, 10:40 AM

                  @bennyb: You can find documentation here. Provided some example snippet calls and information about all the parameters. Take a look at the three default types folders for some examples of the placeholders available.

                  Bravado, thanks for the link. This helps as got it working. What an awesome gallery module thanks.

                  One question on the managermanager part. Been try to get this to work. What exactly will it do? All i’ve manged to get it to do is hide the TV.

                  This is the line i’m putting in my mm rules:
                  mm_galleryLink(’gallery’, ’’, ’12’, ’2’);

                  I’ve left the role value empty as i want this to apply to all roles.

                  Thanks

                  Ben
                    • 16085
                    • 203 Posts
                    This is cool and so simple to add on nice jQuery things! smiley No disrespect to MaxiGallery.

                    However if you are using fURLs is there no way to make the EvoGallery generate the containers alias name rather then the id. So if I’ve used /images/galleries/my-holiday/image.jpg the image path will also be that rather then /images/galleries/11/image.jpg. Unless there a potential issue with duplicate names it’s just from what I’m doing it make it even more organised if you looking via ftp and you see names rather then id numbers. Easily done huh

                    It’s just a shame is not Revolution v2.x ready yet as I’ve got to un-done a couple of hours work porting back to Evo 1.03... For what I need it’s too cool too miss out on.
                      • 36926
                      • 701 Posts
                      Anyone know if it’s possible to get the thumbnails generated so they are square, so it’s crops the image where needed?

                      Thanks

                      Ben