2007. April 11. 20:23, Jean Gazis:
Do you want only the editors to view their own blogs? To limit who can attach files, can't you just turn the permissions on/off for the Upload Module under User Mangement/Access Control, and then view the blogs the same way as other blog entries?
I am not sure why you would need a custom content type just to restrict attachments. Am I missing something?
Jean Gazis
The thing is, that I would like to allow registered users to be able upload files to the forums, but not to their blogs. So if I disable the upload right in the Upload modul for registered users, they won't be able to upload files to the forums. In the other way, if I enable it, then registered users would be able to upload files to the forums and to their blogs too. But I only want one particular role to be able to upload files to their blogs, and every registered users to upload to the forums. Hope this makes it clear. Any help will be appreciated!
Thanks!
Daniel
On 4/10/07, Daniel leva@az.isten.hu wrote:
Hi!
Here is a little problem I have:
I want the Blog additions to include the "Attach file" option only if the user is part of a specified role. I don't want regular registered users to be able to attach files, but I want to allow users part of the "Editors" role to be able to attach.
I thought I would make this work by adding a content-type like "editors_blog", and then make a menu item for a view page (View module) which displays the "editors_blog"'s contents. But I can't make this work per user; ie. now I can get all of the entries in the "editors_blog" content-type, but can not make this work like the original Blog module, which groups the Blog entries by usernames.
If anyone knows a solution for this, please share it with me :)