We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36509
    • 127 Posts
    Modx Rev 2.02
    Gallery 1.5.2

    I need some help.

    http://leeverfamilyreunion.com/?galAlbum=16

    I installed Gallery.

    Tried the example code:

    [[!Gallery? &toPlaceholder=`gallery`]]
    [[!GalleryItem]]
    [[!GalleryAlbums? &toPlaceholder=`galleries`]]
     
    <div style="float: right">
    <h2>Galleries</h2>
    <ul>
    [[+galleries]]
    </ul>
    </div>
     
    <h2>Item</h2>
     
    [[!+galitem.image:notempty=`
    <div class="image">
      <a href="[[+galitem.image]]"><img class="[[+galitem.imgCls]]" src="[[+galitem.image]]" alt="[[+galitem.name]]" /></a>
      <br />Albums: [[+galitem.albums]]
      <br />Tags: [[+galitem.tags]]
    </div>
    `]]
     
     
    <hr />
     
    [[!+gallery:notempty=`
    <h1><a href="[[~[[*id]]]]">[[+gallery.name]]</a></h1>
    <h2>[[+gallery.description]]</h2>
     
    [[+gallery]]
    `]]
    


    and the formatting is wrong. I tried galleriffic as well, same deal. It's almost like I am missing a script or something. Any ideas?

    Thanks
      www.JBMWebDesign.com
      www.JBMAutomation.com
      • 36509
      • 127 Posts
      anyone?
        www.JBMWebDesign.com
        www.JBMAutomation.com
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Check that the necessary .css and .js files are loaded in the page.

        You also should check the validation; there is a missing end div tag in your page somewhere. This could be the problem.

        http://validator.w3.org/check?uri=http%3A%2F%2Fleeverfamilyreunion.com%2F%3FgalAlbum%3D16&charset=%28detect+automatically%29&doctype=Inline&group=0
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org