How do I allow specific users to have their blog posts go directly to the front page without allowing all users to do so?
aaron_leggo - September 27, 2008 - 00:01
Hey everyone.
As my subject line explains, I'm having trouble with a Drupal site that has multiple users who are going to be making blog posts. The site is for a school and so there are user accounts set up for the principal, different grades, etc. The problem is that I want to allow some users (like the principal) to make blog posts that will be automatically sent to the front page, but I don't want to enable all blog posts to be promoted to the front page.
I'm wondering if there is a way to do this and if I can give the option to promote to front page or not to a non-admin user. Any help would be greatly appreciated!
Thanks!

Have you investigated the
Have you investigated the Views module? Perhaps you could create a view that has only their blog posts on the front page. It can do blocks and page on v5. I've not played with v6 but I understand it's more powerful than v5 is.
Views module...
No, I haven't really looked into that yet. I'll try that out and see what I can come up with. Thanks a ton for the advice!
Yep!
aaron_leggo,
avskip is dead on. I'd create a "front page" role. Then, create a view which sends posts from users of that role to the front page.
Blessings! -NP
I believe that if you create
I believe that if you create a role for the principle that allows him to administer nodes, he will be able to promote his posts to the front page. A more effective way would be to create a view that filters the blog posts by author; tell the view to send only those to the front page, for example.
----------------------------------------------------------------------
http://music.bwv810.com
http://classicvinyl.biz
http://davidhertzberg.com
I am a writer, researcher and solo drupal freelancer.
Yeah. The ability to promote
Yeah. The ability to promote to front page is wrapped up in the Administer Nodes permission, which you don't want to give to everyone. There's quite a few discussions here about it.
Some of the solutions are to create an alternate front page with Views that would include blog posts from certain people. I'm not sure how you'd designate less than ALL of that person's blog posts, though there should be a way. You could create a taxonomy term for "front page" and then use Views to filter for that taxonomy term, but then you need some kind of taxonomy permissions module like taxonomy_access in addition to Views to restrict access to that particular vocabulary. It doesn't look like http://drupal.org/project/override_node_options has been updated for D6.
The easiest method is creating a new Content Type (eg. Frontpage News) that would be set to automatically promote to the front page and then you can give only certain roles the ability to create that Content Type. That only uses core modules, but then the Frontpage News nodes are separate from blog posts.
I'm not sure how you'd
Perhaps only "sticky" posts would make it to the front page.
----------------------------------------------------------------------
http://music.bwv810.com
http://classicvinyl.biz
http://davidhertzberg.com
I am a writer, researcher and solo drupal freelancer.
True, but then the ones you
True, but then the ones you stickied to get them on the front page would appear at the top of the person's blog node list...unless you then use Views to alter the blog pages to change the sticky behavior.
Mmm...but I believe that Sticky is in the same group of permissions as Promote to Front anyways.
Thanks everyone!
Hey, just wanted to thank you all for your suggestions and help. This is a pretty amazing community here. I received so much help in such a short period of time.
For now, I've just altered the Principal's role to allow the administering of nodes. For now, this works well for what we need. Either way, as soon as I run into any more trouble/confusion, I'll be sure to come back here for help!
Thanks again.
Aaron