We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2690
    • 148 Posts
    Hi,
    i followed this example on how to setup the photoblogging: http://modxcms.com/MaxiGallery-PhotoBloggin-0.html

    i want to have a gallery level comments instead of a picture level comments.

    I have a snippet call under my maxigallery call:
    [[MaxiGallery? &pics_in_a_row=`2` &pics_per_page=`6` &max_thumb_size=`200` &max_pic_size=`460` &max_big_size=`800` &quality_thumb=`90` &quality_pic=`90` &quality_big=`90` &keep_bigimg=`1` &big_img_linkstyle=`popup` &pic_use_watermark=`1` &pic_watermark_type=`image` &pic_watermark_img=`images/watermark.png` &big_use_watermark=`1` &big_watermark_type=`image` &big_watermark_img=`images/watermark.png` &css=`/styles/style.css`]]
    
    {{GalleryJot}}
    


    so i can see the comments box and i can leave the comments no problem. The issues when i try to go to an individual picture. When i click on any image from the gallery the page refreshes but i nothing happens. it stays in the same gallery level mode.

    if i remove the jot call i see individual pictures just fine.
    any ideas why its doing this?

    Thank you,
    Aleks
      MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
      • 2690
      • 148 Posts
      this seems to be fixed .. instead of & use & in the snippet call.

      but there is a different problem.

      since i have comments on gallery level pages i get all the same comments across all different galleries.
      i assume its because the jot snippet is not tied to the gallery id but rather to a picture id and since we dont specify any picture id on a gallery level it writes everything under same number.

      is there any way to modify this script to grab the gallery (or page) id :

      return $_GET['pic'];


      thanks
        MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
        • 2690
        • 148 Posts
        thats fixed too ... i just removed the &docid from the snippet call.

        Thanks,
        Aleks
          MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5