Due to the popularity of our web development contract template, we're offering the contract, estimate, NDA and invoice templates for $199.50 $49.50 if you order by March 17. Click here to learn more.
Looking for a reliable and affordable Domain Name Registrar? Look no further than Dotster. And for a limited time, we're able to offer our visitors a buy one domain name, get one free promotion. Click here
to take advantage of this offer.
Drupal 5.x contains the ability to specify which roles can see specified blocks (Drupal 4.7.x did not contain this feature). But what if you want to display sections of nodes or other content types to certain roles only? You can use PHP to define which roles see the content, all the way down to sections of a page (as opposed to controlling the entire page). The Drupal module nodeaccess will allow you to control node access based on user roles for entire nodes only. Note: failing to correctly implement PHP code can cause the node to not load at all - proceed with caution.
Use the following code to control access to an entire node based on user role:
All Content © 2005 - 2010 Contract Web Development, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Powered by Drupal
4 days 3 hours ago
4 days 4 hours ago
4 days 4 hours ago
4 days 4 hours ago
4 days 15 hours ago