We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23299
    • 1,161 Posts
    Hi All,

    I am making some decent progress with ModX. I still need to get used to the practice of stripping away XHTML code and inserting ModX code.

    I am building a test community site locally on my Mac using Mamp.

    What I have so far: I have built the site with 5 main pages. The navigation I built with Wayfinder and it works. I have a very basic navigation tree of pages like Home, Members, Reports, Gallery and Contact. From the Home page I have a link to a Register page that registers new web users using the WebSignup Snippet (it works). On each page I have a right column text block built from a Chunk. At the bottom of the right column I have the WebLogin on each page. It works ( to test I created a user account via the WebSignup Snippet and then can log in via the WebLogin Snippet.)

    Issues/Questions:

    * When I am logged in as a user I can’t add or edit content. There is no access to the Manager and the QuickEdit module is missing from the top of all the pages? However, if I log in as the Administrator I then can access the Manager just fine and the QuickEdit module is then active on the top of the page. How do I add/activate the QuickEdit module for registered front end users?

    * I would like to have all the main pages I have created visible to everyone who visits the site. This is what I have now. But I want to have some pages be editable and some pages not editable when web users log in. For instance I don’t want web users to edit anything on the HOME and Contact pages but I do want web users to be able to add/edit content on the Members and Reports pages. How do I do this? Is this a permissions thing or do I need to create a TV? So far I have yet to get into TV’s.

    Thanks in advance! Please go slow ( basic but detailed newby English really helps) with any wisdom...

    Max
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You don’t. QuickEdit is for manager users, not web users. There are other options for web users; check out NewsManager http://modxcms.com/NewsManager-810.html
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 23299
        • 1,161 Posts
        Hmmm,

        I did not know that QuickEdit was only visible to manager users.

        I went to the Newsmanager page and downloaded it. Opening the folder reveals: not much (unless you know PHP maybe?) The instructions on the download page are very brief and vague. Searching for "Newsmanager" does not turn up much in the forums and going to the author’s site does not yield much either as its not in English. <sigh...>

        I see ModX as a system with great potential, but every time I download one of the pieces/modules/Snippets etc I know there will be very little instruction/tips/how to’s/demos/tutorial/explanation etc. Its like every little piece is "way, way cool; but we are not going to to tell you how to use it..."

        Is there any page/post that guides one on how to cater to the end user: "this is your dynamic site built with a new CMS system: this is how YOU the web user, will interface with the content..."

        Thanks,

        Max
          • 23299
          • 1,161 Posts
          Getting back to my questions...

          The first question I will leave for now as I think I am still deep in the mud here.

          The second question: having pages that are editable and non editable... Should I create a template with a editable [*content*] snippet for the pages that can be edited and then create pages without an editable [*content*] snippet for those pages that I don’t want folks messing with? So for these pages that are not going to be edited by web users I would just write the content into the pages directly?

          Or is there some better MODx way I am not aware of?

          Thanks!
            • 7231
            • 4,205 Posts
            Or is there some better MODx way I am not aware of?
            Maybe try to use a TV for the main content rather than the content field. With a TV you can assign which group can edit it. If the entire page in non-editable, then assign the document to a group and don’t include this page in the editors group. Hope this make s sense since the group setup is a bit complicated.
              [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

              Something is happening here, but you don&#39;t know what it is.
              Do you, Mr. Jones? - [bob dylan]
              • 23299
              • 1,161 Posts
              I will mess around with that...

              I am still trying to get the first issue solved. The web users...

              I want my registered web users to be able to edit content: like uploading photos to the MaxiGallery page. Right now the only way I get to see the "Manage Pictures" button is by being logged in as Admin in the Manager. I would prefer to not have members messing with the manager. I want the pages and galleries to be visible to all viewers. (Like the galleries etc.) But to upload a photo you have to be a registered web user. I do want to allow them the ability to edit content from the front end once they have logged in. I am messing around with the Web Permissions, but so far I have not pushed the right button to do this...

              Please?
                • 25663 MODX Staff
                • 12,272 Posts
                I believe that you’re going to need to overhaul the Maxigallery code as it’s intended for Manager users.
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 23299
                  • 1,161 Posts
                  Is there another photo gallery option that will allow web users to upload images to galleries from the front end?
                    • 3749
                    • 24,544 Posts
                    What you want to do should work with MaxiGallery. I have a site where web users can create and manage galleries. They create the galleries with NewsPublisher. I have a post around here somewhere telling how I did it (it was a while ago). I had thought that users could only manage the galleries they created but now I’m not sure about that part. Here’s what I found at the site:

                    The container document that is the parent to the individual galleries has this:

                    [[MaxiGallery? &display=`childgalleries` &pics_per_row=`3`]]


                    This chunk goes on every gallery page:
                    <p>Click on a picture to see a larger version.</p>
                    [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`3`  &max_thumb_size=`110` &admin_webgroups=`wugPhotoAdmins`  &manager_webgroups=`Photo Admins` &max_pic_size=`480` &thumb_use_dropshadow=`1`!]


                    (I see that the "Photo Admins" group doesn’t exist any more so I think &manager_webgroups=`Photo Admins` is non-functional.)

                    This code is on the "create a new photo gallery" page:

                    [!NewsPublisher? &clearcache=`1` &folder=`25` &template=`PhotoGalleryTemplate`  &canpost=`wugPhotoAdmins` &showinmenu=`1`` &footertpl=`MyPhotoGalleryChunk`!]


                    Folder 25 is the folder of the container document holding the photo galleries.

                    The "create a new photo gallery" page link only shows in the menu for users who are logged in. (Personalize snippet).

                    User permissions are hard to wrap your head around and I remember that it took me a long time to get this working the way I wanted it to. I haven’t had to deal with permissions since then. I don’t miss it at all laugh

                    Hope this helps,

                    Bob

                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 23299
                      • 1,161 Posts
                      Thanks Bob,

                      I will do another install of ModX and see if I can get that to work.

                      ****

                      On the main MaxiGallery page I see the following under the ’Description’ head:
                      "Possible to allow webusers/webgroups to manage their own or shared galleries and have "admin" webusers/webgroups."
                      But there are no instructions on how to do this?

                      After doing a search I found this: "Create front-end user galleries! [Wiki posting]: http://modxcms.com/forums/index.php/topic,12367.0.html

                      Its a complicated series of steps. You also need the following Snippets: MaxiGallery, MaxiGallerySolo, Ditto, NewsEditor, NewsManager and  TinyMCE. So far I have TinyMCE and MaxiGallery installed and I will guess I will need the other four? I struggled with getting MaxiGallery to work on my Mac using MAMP and I am hoping that installing the other Snippets will go smoothly?

                      But this Wiki instruction is just from one user? Its all I could find so far though. But will it work?

                      Bob, your instructions seem lighter so maybe I should try that? What puzzles me is that MaxiGallery has been downloaded a zillion times but there is almost no wording/instructions on how to create user galleries????????

                      Thanks!