We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13622
    • 74 Posts
    Quote from: bennyb at Jun 03, 2010, 05:42 AM

    Quote from: lucas at Jun 03, 2010, 05:22 AM

    In ManagerManager you need to add the prefix ’tv’ to any template variable field you are referencing.

    So assuming you called your link TV ’Gallery’, and the ID of the gallery is 3, you should have:
    mm_galleryLink('tvGallery', '', '', '3');
    


    Also, I don’t know if having a space after the commas makes any difference but that’s how it is by default - try the above code


    I might try a couple things:

    1. I would confirm, you’re using the latest version of ManagerManager 0.3.8. You may even reinstall if it is.
    2. Make sure the "Configuration Chunk" name matches the actual chunk.
    3. Verify that you have jquery.min.js in your /assets/js folder. I have mine set to remote.
    5. Verify that MM is working, by testing it some other function, such as renaming a field.
    6. Here’s my evo gallery call in MM: mm_galleryLink(’gallery’, ’’, ’’, ’3’);
    7. Verify that the TV your calling is "Text" not "Textarea" or something like that, and that nothing is in the default fields, and that it is assigned to the appropriate page template.

    Sorry if it’s all basic stuff...
      • 36926
      • 701 Posts
      @lucas
      I’ve tried using both the chunk and the file.
      The other MM rule I added works so I know it defiently picking up my rules. It is doing somthing to my TV as it hides it. If i remove the MM rule the TV shows up as expected.

      @jasonimani
      Thanks for the suggestions, I’ve tried all that you have mentioned and all is correct. I’ve even tried new fresh installs of modx but always get the same problem.


      Thanks again

      Ben
        • 13622
        • 74 Posts
        Quote from: bennyb at Jun 04, 2010, 05:38 AM

        @jasonimani
        Thanks for the suggestions, I’ve tried all that you have mentioned and all is correct. I’ve even tried new fresh installs of modx but always get the same problem.

        Wish I could be more help...it’s really odd that it’s hiding the whole TV. Maybe email the author directly, and see if he has any suggestions. Or viewing the page with Firebug?

          • 12379
          • 460 Posts
          My client and I invested considerable time in setting up MaxiGallery but its gone all pear-shaped since number of gallery images hit a few hundred. Just wondering if this module’s been tested with heaps of images, and given that there are heaps of images, is there pagination available to go with the image limit parameter?
            Mostly harmless.
            • 26931
            • 2,314 Posts
            ..since number of gallery images hit a few hundred
            shocked few hundred? ..sorry to ask, but why wouldn’t you just create another gallery? did you try using custom templates (avoiding phx) and/or increasing the pcre.backtrack_limit limit: http://modxcms.com/forums/index.php?topic=42498.0
              • 12379
              • 460 Posts
              Thanks. I followed a few suggestions on the MaxiGallery forum (including increasing max. passes in plug-in configuration), but wasn’t aware of this one. Just tested and it didn’t work - unable to save changes in the gallery manager so removing pHx may be the only other than splitting the galleries. Probably quicker than recreating the galleries in something else.
                Mostly harmless.
                • 36926
                • 701 Posts
                Quote from: jasonimani at Jun 04, 2010, 10:27 AM

                Quote from: bennyb at Jun 04, 2010, 05:38 AM

                @jasonimani
                Thanks for the suggestions, I’ve tried all that you have mentioned and all is correct. I’ve even tried new fresh installs of modx but always get the same problem.

                Wish I could be more help...it’s really odd that it’s hiding the whole TV. Maybe email the author directly, and see if he has any suggestions. Or viewing the page with Firebug?



                Finally figured it out and it looks like it’s a bug. If the gallery TV is the only TV for that template it wont show up but as soon as i have another TV I can see the gallery link. Obviously multiple TV are normally present, but as i was testing on a new install I’d not created any additional TV’s.

                jasonimani and lucas thanks for you suggestions as thats what got me trying to firgure whats going out.

                Ben
                  • 13622
                  • 74 Posts

                  Finally figured it out and it looks like it’s a bug. If the gallery TV is the only TV for that template it wont show up but as soon as i have another TV I can see the gallery link. Obviously multiple TV are normally present, but as i was testing on a new install I’d not created any additional TV’s.

                  jasonimani and lucas thanks for you suggestions as thats what got me trying to firgure whats going out.

                  Ben

                  Glad you got it figured out...
                    • 36926
                    • 701 Posts
                    So next question is how can pagination be done.
                      • 13622
                      • 74 Posts
                      Quote from: bennyb at Jun 05, 2010, 12:05 PM

                      So next question is how can pagination be done.

                      Good question. I don’t think EvoGallery directly supports pagination within the module parameters...there’s no mention of it in the support docs at least. You can use a jquery-based solution. There are tons of jquery plugins for doing it, with tons of effects...search for "jquery pagination".

                      Post the result when you’re done. I would be curious to see how it turns out!