By NickHBO on
I hope this turns out to have a simple fix. I don't have any content submission available for anonymous and another user role but they still see the "Create Content" link in the menu. How can I remove this since the link leads to a blank page and has no links under it? I like to stay as far away from clutter as possible so nixing this link for users who don't need it will be great if it's possible :)
I'm using 4.5 and am using the pushbutton theme.
Thanks,
Nick
Comments
menu.module quirk
Everything needs to be done in Administer > Menus (requires menu.module)
You have to disable the sub-menu-items below that one first. After that, you can disable "create content" successfully. Hiopefully this behavior will be fixed in 4.6 .
Cheers,
Kieran
Hmm
I just want to get rid of it for anonymous users and users of certain roles though. I want it to still be there for me, the admin, and some select user roles I choose. It would seem to me if the roles didn't have access to anything under the menu, the menu item wouldn't exist. Is this not true or is there some option somewhere to handle this?
Nick
It has been a week ...
So I'm trying again. Does anybody at all know of a way to fix this?
Create Content
From administer->menus, I disabled everything under "create content" except the "pages" sub-menu. I moved the create event and create topic to be under the Events and Forums sub-menus, but only authorized users can see them...
The key I think is that under administer->users->configure->permissions, I made sure that anonymous users do not have post/create permissions for events/forums/polls/pages/etc...
Then end result is that for my Navigation menu, anonymous users do not see the "Create Content" sub-menu.
This is a clean install of 4.5.1 with only a couple extra modules added (events & weather).
So it would seem to work for me just as you described -- when the anonymous user is on and does not have permissions to create pages (the only enabled item under create content), then the create content does not show up.
-Ray
ray@bowers.com
http://www.RayBowersPhotography.com - personal site
http://www.HuntingtonClub.org - condo association running Drupal
Well that's just strange.
Maybe there's a fix in 4.5.1 that gets around this problem so I'll try installing it and see what happens. I too have the permissions set so that anonymous users can only either "access", "vote", or "search" in certain modules - nothing for "post" or "create" is set.
When click on "Create Content" as an anonymous users you get no sub-menu and a blank page with just the title "Create Content" so it's not like things are showing up that shouldn't; it's just that there's nothing to show but it shows anyway.
Well thanks for the feedback, I'll upgrade to 4.5.1 and see if doing so fixes this.
Nick
Same problem
I, too, have given anonymous users no permissions beyond accessing content, and they see the Create Content navigation item, with nothing under. When they click, they see:
Create Content
You are not authorized to access this page.
I have installed CivicSpace 0.8.0.3 (4.5).
Node_privacy_byrole and Queue are deselected.
JUST SOLVED. In the administer > menu, I had to disable the "Create Content" heading, while leaving the subheading enabled. Then, the "Create Content" heading only appeared when subheadings were relevant.