Today I will continue with some tips and tricks that you can use in one of the world's most popular Content Management System (CMS) - Drupal.
The scenario in this tutorial is that we have a Drupal driven website with access to anonymous content creation. Not sure what is the real case in CMS user community but most of the websites I have created have that option - visitors to submit content in one form or another. Not talking about Comments and Guest book entries and stuff like that but real posts, news and so.
I will use the example from
my last Drupal tutorial with the Bookstores catalog. Briefly we have a website about bookstores and we want to have the ability for anonymous users to submit their bookstore in our catalog.
For the purpose we have create a
Content type called Bookstores.
We have allowed anonymous users to create such content type. Do make that happen you go to Home > Administer > User management > Permissions. Under node module you check the box create bookstore content.
This is very nice but now we the create content link from the navigation menu showing for anonymous users. In general that is ok if we want to use the navigation menu for other purposes. Honestly I have never used it for anything but navigation in the administrative features. So what we need to do in such case is to hide the navigation block by default for all. You go to
Home > Administer > Site building > Blocks and click the configure link for navigation block.
Here you can change the visibility in two ways.
1. User specific visibility settings
Set the option as Hide this block by default but let individual users show it
2.Role specific visibility settings
Set it so that only an authenticated user can see this block.
You can save the settings and logout to ensure the proper behavior.
posted on 2010-Jun-18 | 05:47:53 AM
posted on 2010-Jun-22 | 04:50:04 AM