We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32517
    • 13 Posts
    I’m using Maxigallery for some links on a article listing page it gets the image with [[MaxiGallery? &gal_query_ids=`[+id+]` &limit=`1`]] now unfortunately it links to the url index.php?id=79&pic=170&from_id=3 it links directly to the picture from the associate gallery ID and displays the text for that assocaited document and the image on the page with < prev | index | next > instead of just going directly to the page say index.php?id=79 directly is there a way to override that link MaxiGallery is giving and just have it link to the document ID?
      • 7923
      • 4,213 Posts
      Yes, you can do a custom &galleryPictureTpl and link to the gallery document from the picture instead of the picture.

      So just do a new chunk with the same content as in /assets/snippets/maxigallery/templates/gallerypicturetpl.html and replace the <a href="[+maxigallery.picture_link_url+]"... with <a href="[~[+maxigallery.picture.gal_id+]~]"... Then add &galleryPictureTpl=`chunknamehere` to the snippet call.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 32517
        • 13 Posts
        Quote from: doze at Nov 21, 2007, 02:47 PM

        Yes, you can do a custom &galleryPictureTpl and link to the gallery document from the picture instead of the picture.

        So just do a new chunk with the same content as in /assets/snippets/maxigallery/templates/gallerypicturetpl.html and replace the <a href="[+maxigallery.picture_link_url+]"... with <a href="[~[+maxigallery.picture.gal_id+]~]"... Then add &galleryPictureTpl=`chunknamehere` to the snippet call.

        Thank you very much=) Glad to know such a override can be done will be putting this to heavy use.