We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4095
    • 372 Posts
    Ok, this gets stranger and stranger.

    I was enabling Rich Text editor for the page in the sandbox and trying to display the actual code on the page as well as the code output. I was changing some of the characters in the code to HTML codes.

    Now when I click on Manage I get all the older photos in the manager but not the new one (which is opposite of what was occouring) ?!?!?!?!?! In Normal mode all photos are visible.

    So I copied the entire source code from the one in the sandbox which behaves as above to a page in my gallery, but the one in the gallery still doesn’t show the old pictures in the Manager.

    I then copied the entire source code of one of the other galleries which wont show old pictures in the Manager into the one in the Sandbox, and that continues to show old pictures but not new pictures in the Manager.

    I am stumped !!! The Normal view shows everything as normal, it only affects the Manager.

    I have compared page settings and they are the same, except for the sandbox is protected and the gallery isn’t, I even protect a gallery page but still didn’t help.

    ANY ideas? I have more photos to upload but there’s no point till this is fixed. :’(


    [I have replaced the snippet and uploaded the files from the Repository, but still no luck]
      [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
      Admin Sandbox Login: sandbox Password: castle
      • 7923
      • 4,213 Posts
      Quote from: Briggsy at Sep 20, 2006, 11:17 PM

      You can see the problem in action if you log into the gallery, maybe you can see something I can’t, just log in to http://members.emanz.ac.nz and use sandbox as username and castle as password.
      I don’t have rights to see the picture management page nor the snippet calls using that username. If you like to give me better access, send user details via PM.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 4095
        • 372 Posts
        Sorry about that, the login only allows you to edit the sandbox version not the public live version.


        Ahhhhhh... while setting you up a login for the live version I found the problem.

        I have not set any group permissions in the call. When logged into the backend as ADMIN and NOT the frontend you I can see the Manage button, which is how I have been running it.

        However if you then login to the front end as a different user (sandbox) than the one logged into the backend (admin) you get the Manage button but no photos are shown, only the upload form. If you then upload photos they appear, as well as in the frontend for viewers to see.

        If I ONLY login (admin) to the backend and click on the Manage picture button, I get the original photos in the manager and not the one I uploaded as the different user (sandbox).

        If I login to the front end as the different user (sandbox), while still logged into the backend (admin) I can only see the new photo in the manager and not the original photos.
          [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
          Admin Sandbox Login: sandbox Password: castle
          • 7923
          • 4,213 Posts
          Yeah, that’s how it’s designed to work.

          Webusers can only edit his own pictures, webgroups can only edit their own pictures, admin login from backend (login that has rights to edit the page the snippet is running on) has rights to edit all pictures.



            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 4095
            • 372 Posts
            yea, that makes sense, good feature smiley

            Sorry for making such an easy issue so complicated rolleyes

            Have another question.... I don’t want to set permission for each staff member, so lets say I have a Web User Group called Staff and a group called Admin

            Now I have been adding images while logged in as the MODx Manger User Admin (not logged into webpage at all). I’ve set the snippet to use &manager_webgroups=`Admin`

            Now when I login as the Web User Admin while NOT logged in to the MODx Manager, the photos aren’t visible in the MaxiGalley Manager. How do I resolve this, or is this not possible since one is a Manager user and one is a Group user?

            Also I’d want the Web User Group Staff to access all the photos uploaded by Web User Group Admin, and MODx Manager User Admin.

            If this is not possible, how to I reset the permissions on all the existing photos from MODx Manager Admin to Web User Staff?

              [img]http://www.emanz.ac.nz/assets/images/logo/emanz-icon_16x16.gif[/img] Emergency Management Academy of New Zealand [br] http://www.emanz.ac.nz[br][br]MODx Sandbox Login: sandbox Password: castle [br]
              Admin Sandbox Login: sandbox Password: castle
              • 7923
              • 4,213 Posts
              Quote from: Briggsy at Sep 24, 2006, 11:01 AM

              ...How do I resolve this, or is this not possible since one is a Manager user and one is a Group user?
              Correct.

              Quote from: Briggsy at Sep 24, 2006, 11:01 AM

              Also I’d want the Web User Group Staff to access all the photos uploaded by Web User Group Admin, and MODx Manager User Admin.
              Not possible currently. Webusers can only see the pictures that they have uploaded them self.. But probably would be good to make it possible to define "admin webusers" that could edit all the pics that are uploaded to the gallery, or filter with web groups..

              Quote from: Briggsy at Sep 24, 2006, 11:01 AM

              If this is not possible, how to I reset the permissions on all the existing photos from MODx Manager Admin to Web User Staff?
              In the database table, there is own_id field on the pictures. Set the ID of the webuser to that field who you want to be able to edit the pics..


                "He can have a lollipop any time he wants to. That's what it means to be a programmer."