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
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 :)
Thanks!
Daniel
[ Drupal support list | http://lists.drupal.org/ ]