Hi, I am trying to find a good way to have the option of only showing the teaser, with a 'Subscribe to read article' link instead of the default 'read more'. This gives an idea how to do it per role: http://drupal.org/node/126075 But the user would have to be logged-in for that to work. Any tips on showing teasers-only for not logged-in users, and full teaser+page when they are logged in?
Thanks,
Richard
Quoting Richard Bennett richard.b@gritechnologies.com:
Hi, I am trying to find a good way to have the option of only showing the teaser, with a 'Subscribe to read article' link instead of the default 'read more'. This gives an idea how to do it per role: http://drupal.org/node/126075 But the user would have to be logged-in for that to work. Any tips on showing teasers-only for not logged-in users, and full teaser+page when they are logged in?
The ``anonymous user'' role is what you would use for unauthenticated users.
Earnie
On Thu, 07 Jun 2007 14:13:33 +0200, Earnie Boyd earnie@users.sourceforge.net wrote:
Hi, I am trying to find a good way to have the option of only showing the teaser, with a 'Subscribe to read article' link instead of the default 'read more'. This gives an idea how to do it per role: http://drupal.org/node/126075 But the user would have to be logged-in for that to work. Any tips on showing teasers-only for not logged-in users, and full teaser+page when they are logged in?
The ``anonymous user'' role is what you would use for unauthenticated users.
Ahh, I see. Would I have to have to publish the page as 'visible to all' then? I'm thinking if the page is set to members-only the teaser won't show on the frontpage at all, regardless of any theme changes that are made, right? If I publish the srticles as 'free' I think there might be a lot of other issues with them being accessible directly, and from search results for non-members.
Would it be a better approach to make a view that shows just the teasers, and only show that for anonymous users?
Thanks for your help.
Richard
You might not find a simple work around. The thing is, drupal determines which nodes you can see on a per node basis. So you can't really make a node half accessible. You might find some help in the CCK Field Permissions project, http://drupal.org/project/cck_field_perms
Richard Bennett wrote:
Hi, I am trying to find a good way to have the option of only showing the teaser, with a 'Subscribe to read article' link instead of the default 'read more'. This gives an idea how to do it per role: http://drupal.org/node/126075 But the user would have to be logged-in for that to work. Any tips on showing teasers-only for not logged-in users, and full teaser+page when they are logged in?
Thanks,
Richard
On Thu, 07 Jun 2007 17:34:23 +0200, Eric Mckenna eric.mckenna@gmail.com wrote:
You might not find a simple work around. The thing is, drupal determines which nodes you can see on a per node basis. So you can't really make a node half accessible. You might find some help in the CCK Field Permissions project, http://drupal.org/project/cck_field_perms
That looks like it might be an option, I'll have a go. Thanks,
Richard.
Check out Premium module: http://drupal.org/project/premium
There is no official 5.x release yet, but a patch is in issue queue.
On 6/7/07, Richard Bennett richard.b@gritechnologies.com wrote:
On Thu, 07 Jun 2007 17:34:23 +0200, Eric Mckenna eric.mckenna@gmail.com wrote:
You might not find a simple work around. The thing is, drupal determines which nodes you can see on a per node basis. So you can't really make a node half accessible. You might find some help in the CCK Field Permissions project, http://drupal.org/project/cck_field_perms
That looks like it might be an option, I'll have a go. Thanks,
Richard.
[ Drupal support list | http://lists.drupal.org/ ]
On Thu, 07 Jun 2007 19:21:34 +0200, Jim Li jimmydami@gmail.com wrote:
Check out Premium module: http://drupal.org/project/premium There is no official 5.x release yet, but a patch is in issue queue.
Thanks for that, I'll check it out.
richard