We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5452
    • 41 Posts
    I’m using MaxiGallery, and I need for surfers to be able to rate the images. I installed the Anythingrating snippet.

    On the document, I have to call for both maxigallery and AnythingRating and it looks as such...

    [b[!AnythingRating? &define=`1` &atrGrp=`July08SubmitPics`!][!MaxiGallery? &display=`embedded` &embedtype=`external` &pics_per_row=`4` &max_thumb_size=`130` &max_pic_size=`0`!][/b]

    This seems to work pretty well. UNTIL it comes to the gallerypicturetpl.html file in the MaxiGallery template folder. I can’t get the AnythingRating to call properly in the template. When the page opens up, all the thumbs are in a single list going straight down the page, with the AnythingRating under the picture title. I need the Thumbnail, the pic title under that, and the anything rating under that. And I want rows of 4 images.

    Here is where in the template ( gallerypicturetpl.html ) I have placed the call for AnythingRating...

    [+maxigallery.picture.title:isnot=``:then=`
    <div align="center">
    [+maxigallery.picture.title:htmlent+]
    </div>
    `+]
    <div align="center">
    [!AnythingRating? &amp;atrGrp=`July08SubmitPics` &amp;atrId=`[+maxigallery.picture.id+]`!]
    </div>

    </li>
    `+]

    Please help.

    All the best,
    ~Slim~
      • 7923
      • 4,213 Posts
      Here’s an example on how to set it up http://www.modx.wangba.fr/index.php?id=166


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