Posted by manorius on May 17, 2011 at 6:40am
Hi guys,
Does anyone have an idea of an article, tutorial or module that I can use to create a limited
content editor account that can only upload pdfs to a site?
As per this example:
- The website has a list of pdfs created by views.
- The client has an account that when loged takes him to a screen that
there is just a field to browse for the file and a submit button
- The input fields for body,menu settings, authoring information, publishing options ... etc shouldn't be visible
just the upload file cck field
Thanks,
Manolis
Comments
I don't know of any
I don't know of any tutorials. This specific use case covers many different areas. But it sounds like something we could do at the next HKDUG meetup (Jun 7th). Are you coming?
--
Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his
Can this be done by standard permissions?
Why not creating two new cck fields for body and title that will replace the standard node ones.
And add the correct permissions to his role so he will not be able to edit them?
After you just display those two cck fields in the view instead of the title and body
If the user don't have the
If the user don't have the permission "administer nodes", this fields menu settings, authoring information and publishing options will not be visible. And for the title and body, you can disable this fields for modification per css or by alter the node fields with #disabled property for a specific role or user. After, give the user the permission to edit this content. With that, the user will be only able to edit the file field (add/update your pdf file field).
Julien Didelet
Founder
Weblaa.com
Or use
Or use http://drupal.org/project/field_permissions
--
Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his
thanks a lot for the help
I will definitely try to come to the next meetup!
cheers,
Manolis