We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Please give the following Gallery 2 module a whirl and see if it works out. The user integration should be complete despite what it says in the Word documenation.

    You obviously have to have Gallery2 installed and working first, then run the module installer.

    Thanks!
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 18397
      • 3,250 Posts
      Where should gallery 2 be installed?
        • 18397
        • 3,250 Posts
        I installed Gallery 2 in /gallery and installed the module.

        The zip has assets/gallery but I noticed that all the includes use /assets/modules/gallery so I duplicated the files there as well.

        Unfortunately the link generation seems to be wrong.

        Gallery 2

        http://modxdev.net/gallery/

        MODx

        No images or image links seem to work.

        Here is my config string from the module:

        &mpth=Module Path;string;assets/modules/gallery/ &g2pth=Gallery Path;string;/home/httpd/vhosts/modxdev.net/httpdocs/gallery/ &g2rurl=Relative URL to Gallery from CMS;string;gallery &ondel=When deleting;list;Leave Gallery user,Delete Gallery user; &admid=Admin User;string;admin

        Also, when I run the module and choose Gallery Admin I get a bunch of logging errors and the pages are /manager/v

        http://modxdev.net/gallery2.html

          • 18397
          • 3,250 Posts
          Problem found,

          The Gallery 2 url rewrite module causes the broken image urls
            • 6726
            • 7,075 Posts
            Thanks Mark for the infos, it will help me install it and test it.

            If the url rewrite module breaks image urls, wouldn’t modifying RewriteBase in Gallery2’s .htaccess be the solution ?

            While I am here : from a Marketing standpoint, this module, like SMF’s will greatly contribute to promoting MODx. Thanks guys for the code grin

              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l'outil id
            • Any more good or bad things to report on this?
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 18397
                • 3,250 Posts
                When running the module and entering admin mode a javascript alert message comes up saying "Logging error: could not write to the table" (or something like that...)
                  • 18397
                  • 3,250 Posts
                  @Raymond Tried the fix file that you sent Ryan (CC to me) but it didn’t seem to make a differance. Also, was that supposed to overwrite x9’s files?



                    • 32963
                    • 1,732 Posts
                    Hmmm,

                    Try running G2 in standalone mode and see if those errors appear
                      xWisdom
                      www.xwisdomhtml.com
                      The fear of the Lord is the beginning of wisdom:
                      MODx Co-Founder - Create and do more with less.
                      • 18397
                      • 3,250 Posts
                      The errors do not appear in standalone mode.