We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8619
    • 229 Posts
    I have created instructions on how to let web-users create galleries from the front-end using MaxiGallery and NewsManager. Here is the link:

    http://wiki.modxcms.com/index.php/MaxiGallery:_Front_end_user_created_galleries

    Please take a moment to review and try it out!

    This is my first WIKI posting, so please let me know what you think of the posting, the instructions, and especially how it works for you!

    Thanks!
      • 885
      • 14 Posts
      great tutorial! laugh
      I have some problems: I have an error on the gallery page, where I call ditto snippet (but maybe I have an error in my code..); and I don’t see the TV for the richtext. I run the 0.9.5.
        • 7923
        • 4,213 Posts
        For the RTE TV problem, see this thread, other users have had similar errors but they are running 0.9.6.. Maybe something is not quite right in the instructions or there is some other difference in your environment when comparing to ejcross’s environment. ejcross is working on it, I guess wink


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 8619
          • 229 Posts
          Quick question for everyone!

          If you have had success with this, please let me know what browser you are using, and what version of the snippets and MODx you are using.

          I am trying to track down the RTE bug with the TV for the content.

          THanks!
            • 885
            • 14 Posts
            Firefox v2.0.0.1 and IE 7 - Win XP

            Snippet
            Ditto v1.0.2
            MaxiGallery v0.4.1
            MaxiGallerySolo v1.1
            NewsManager v1.3
            NewsEditor v1.0

            Plugin
            TinyMCE v2.0.8

            Thanks a lot!
              • 1443
              • 4 Posts
              Ok, I finally got it to work... although I’m not exactly sure what I did.
              I’m using MODx 0.9.6-RC1, TinyMCE 2.0.9

              My configuration settings for TinyMCE were wrong, so I fixed that. Here is what I have for my plugin configuration:

              &tinyFormats=Block Formats;text;p,h1,h2,h3,h4,h5,h6,div,blockquote,code,pre,address &entity_encoding=Entity Encoding;list;named,numeric,raw;named &entities=Entities;text; &tinyCompressor=Compressor;list;enabled,disabled;enabled &tinyPathOptions=Path Options;list;rootrelative,docrelative,fullpathurl;rootrelative &tinyCleanup=Cleanup;list;enabled,disabled;enabled &tinyResizing=Advanced Resizing;list;true,false;false &advimage_styles=Advanced Image Styles;text; &advlink_styles=Advanced Link Styles;text; &disabledButtons=Disabled Buttons;text; &webtheme=Web Theme;list;simple,advanced,editor,custom;editor &webPlugins=Web Plugins;text;style,searchreplace,print,contextmenu,paste,fullscreen,noneditable,nonbreaking,xhtmlxtras,visualchars &webButtons1=Web Buttons 1;text;undo,redo,selectall,separator,pastetext,pasteword,separator,search,replace,separator,nonbreaking,hr,charmap,separator,image,link,unlink,anchor,media,separator,cleanup,removeformat,separator,fullscreen,print,code,help &webButtons2=Web Buttons 2;text;bold,italic,underline,strikethrough,sub,sup,separator,bullist,numlist,outdent,indent,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect,separator,styleprops &webButtons3=Web Buttons 3;text; &webButtons4=Web Buttons 4;text; &webAlign=Web Toolbar Alignment;list;ltr,rtl;ltr


              When I changed that, it didn’t appear to fix my problem. But later in the day I had to reboot my PC and now it works so it may be a browser cache thing.
                • 8619
                • 229 Posts
                I’m glad that you got it working!

                I have run into the same problem with the cache on my browser making it appear as though it wasn’t working, when it was. If you or anyone is having problems with this, close your browser and try again and see if it helps.

                Great site by the way! I’ve always wanted to play that game!

                One other thing, your pages are set to cacheable by default, I made the critical pages uncacheable when I checked them out for you.
                  • 18409
                  • 54 Posts
                  Does anyone know how to have user created galleries, where only the creating user (and admins) can edit them?

                  I set up user creating galleries a while ago using a different method, but with NewsPublisher, (before I think your wrote your wiki entry) but as in the wiki post all users can edit everyones galleries.

                  I have it setup with a template that contains the MaxiGallery call, and then a news publisher snippet call that simply creates a new page with this template. Because it is a template it can’t have different users in the maxigallery call.

                  I need a way of adding the maxigallery snippet call to the content on the regular template, but changing the &admin_webusers=`editors` to &admin_webusers=<logged in username>



                    • 30128
                    • 78 Posts
                    Quote from: ejcross at Mar 01, 2007, 08:11 AM

                    One other thing, your pages are set to cacheable by default, I made the critical pages uncacheable when I checked them out for you.

                    Hi! I have now got this working almost to perfection, but I have a problem exactly with cache: Every new gallery page is created as cachable. Because of this, when I land at the gallery after the "new gallery" form from Gallery Creator is submitted, the "Manage Pictures" button doesn’t work. All I have to do to fix this is to login to backend and turn ’cachable’ off for the gallery page. I don’t even have to refresh the browser window for this to work, just turn off caching.

                    So naturally I’ve gone into Tools -> Configuration -> Site -> Cacheable default and checked for ’No’, bu tthis has no effect. All new galleries are still cached. I’ve cleaned cache in MODx, and in browser. Is there some other, hidden setting to turn caching off for new pages created by this method??

                    Using MODx 0.9.6 and MaxiGallery 5.2
                      • 8619
                      • 229 Posts
                      TJ,

                      Do you have the &clearcache=`1` in both the NewsManager and NewsEditor snippet calls? THis clears the site cache automatically. If you do, I need to update the system to work with 0.9.6 as I developed it for 0.9.5.

                      I will keep looking into it and let me know.... thanks!