Posted by jcap923 on June 8, 2011 at 11:41pm
Hi guys. May I know what is the recommended way to implement a "Password Protected Content Type" in Drupal 7?
Thanks in advance.
Hi guys. May I know what is the recommended way to implement a "Password Protected Content Type" in Drupal 7?
Thanks in advance.
Comments
by password protected you
by password protected you mean to only allow view of that content for certain user roles? and ask them to login first before viewing that content?
Create a script based on role type
you can create a custom tpl for your custom content type.Inside that tpl you can create a php script that does not allow "anonymous" or unallowed "role type" to access it without the password