We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32380
    • 137 Posts
    Hi hope someone can help i have the following problem.
    I have added maxi gallery/smooth galley onto my site i am currently building, the manage images button is showing with a preview of the smooth gallery but when i log out to view the site the gallery vanishes... just like magic!!
    If I view the source the gallery is there, i think its css related but can put my finger on it?

    Call inside of template
    [*Gallery*]


    TV to choose if gallery is to be shown (drop down box)
    Yes=={{Gallery}} || No=={{Blank}}


    chunk
    <div id="gallery">
    [!MaxiGallery? &smoothgallery_id=`[*id*]` &view_gallery=`[*id*]` &display=`embedded` &embedtype=`smoothgallery` &smoothgallery_width=`900` &smoothgallery_height=`400` &smoothgallery_showCarousel=`1` &smoothgallery_textShowCarousel=`View All` &smoothgallery_embedLinks=`0` &smoothgallery_timed=`1` &smoothgallery_showInfopane=`false` &smoothgallery_slideInfoZoneOpacity=`.85` &max_pic_size=`1000` &smoothgallery_fadeDuration=`400` &smoothgallery_delay=`7000` &smoothgallery_carouselMaximizedOpacity=`.8` &smoothgallery_carouselMinimizedOpacity=`.6`!]
    </div>


    Hope someone can help as i am scratching a large hold in my head?

    link to demo site http://www.jgaconservatories.com/Conservatorie-Designs.html

      • 32380
      • 137 Posts
      Oh forgot to mention its showing in ie8, but not firefox, chrome of safari
        • 32380
        • 137 Posts
        Any one?
          • 26931
          • 2,314 Posts
          Hi wiggy,

          you’ve got #myGallery3 set to display: none; in your header...could that cause the problem?

          jan
            • 32380
            • 137 Posts
            Horay we found a soloution itsa as follows...

            ajaxsearch and maxi gallery were adding calls to mootools, so in the header mootools was called twice, i disabled ajaxsearch now maxigallery works fine...
            once again thanks to everyone that uses modx forum/twitter you make modx very special espesh @kunane thanks mate!!
              • 26931
              • 2,314 Posts
              ...maybe you could use ajaxsearch with jQuery -> http://www.modx.wangba.fr/index.php?id=281 in noConflict mode so it won’t collide with mootools

              jQuery noConflict -> http://docs.jquery.com/Using_jQuery_with_Other_Libraries
                • 27330
                • 884 Posts
                or if they both use the same version of mootools you can simply add &disable_js_libs=`1` to your maxicall and it won’t load mootools.
                  • 29525
                  • 388 Posts
                  Ok, I’m stumped on this one as well.

                  Manage pictures button is present. Images are not.

                  I’m using jQuery in no conflicts mode. I added &disable_js_libs=`1` to the maxigallery call (just in case).

                  I also see display: none for this gallery has been added to the header but I don’t know the source of it. It is not in the template.

                  <style type="text/css">
                  			#myGallery2
                  			{
                  			width: 646px;
                  			height: 364px;
                  			z-index:5;
                  			display: none;
                  			}
                  			</style>
                  


                  This was working just fine a few days ago. I’ve tried to retrace my steps to determine what has changed without success.

                  Any help would be appreciated. Thank you!
                    www.terrybarthdesign.com
                    • 7923
                    • 4,213 Posts
                    Quote from: Terry at Jun 29, 2009, 07:28 PM

                    I added &disable_js_libs=`1` to the maxigallery call (just in case).
                    If you do that, you need to provide the necessary js libraries yourself (eg. mootools for smoothgallery).
                    Quote from: Terry at Jun 29, 2009, 07:28 PM

                    I also see display: none for this gallery has been added to the header but I don’t know the source of it. It is not in the template.
                    MaxiGallery adds that if SmoothGallery is enabled to be used. Don’t worry about it being set to hidden, smoothgallery JS script will just read the html and render it views..


                      "He can have a lollipop any time he wants to. That's what it means to be a programmer."
                      • 29525
                      • 388 Posts

                      Since this was working a few days ago without mootools, I presume I don’t need it now and therefore I don’t need the &disalble_js_libs=`1`. Right?

                      So why is the gallery not visible? Does this mean the smoothgallery js script is not working? Not sure how to troubleshoot this.
                        www.terrybarthdesign.com