Hi,
is it possible to display the "Manage pictures" button only for the author of the doc?
I’m using FDM with MaxiGallery and want to give only the author of a document the rights to upload/manage images for that doc.
Any ideas?
See’ya
Rohal.
It should be like that by default. Or are you talking about webusers?
For MODx manager users, the permissions should be so that if the user has rights to edit the document, he can also manage the pictures in the related gallery. Administrators can manage all galleries.
For web users, you have make use of one of the following parameters: &admin_webusers &admin_webgroups &manager_webusers &manager_webgroups
See more info about those from maxigallery wiki page.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
You need to implement it so, that when FDM creates the document, it inserts the maxigallery call to the document where &admin_webusers parameter is filled with the current logged in web user.
See this
http://modxcms.com/forums/index.php/topic,12367.0.html
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Thanks for your help!
I solved it by inserting the author of the document into the MaxiGallery call.
See’ya
Rohal.