<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
This may be sub-optimal, but you could probably do it pretty simply in
a theme.<br>
<br>
For example, in the garland theme, change the section of the
node.tpl.php file from :<br>
<blockquote>
<pre> <div class="content">
<?php print $content ?>
</div>
</pre>
</blockquote>
to<br>
<blockquote>
<pre> <div class="content">
<?php global $user ?>
<?php if (!$teaser && ($user->uid == 0)): ?>
You must be a paid member to view this node content.
<?php else: ?>
<?php print $content ?>
<?php endif ?>
</div>
</pre>
</blockquote>
The advantage of this route is that you wouldn't need a module to
control it. The obvious drawback is that you don't have a module to
control it. <br>
<br>
...alex...<br>
<br>
<br>
<br>
Shai Gluskin wrote:
<blockquote
cite="mid:9f68efb70803191038l4883bf71n851a4c1c4a6bb817@mail.gmail.com"
type="cite">Tim, this is just off the top of my head, and is in
reference to Drupal 5. As with most things in Drupal, there are
probably 8 ways to do this.<br>
<br>
Check out: <a moz-do-not-send="true"
href="http://drupal.org/project/cck_field_perms">http://drupal.org/project/cck_field_perms</a><br>
<br>
The problem there is that the teaser in Drupal is <span
style="font-weight: bold;">not </span>a cck generated field ad that
module only controls cck generated fields. It's not difficult to ditch
using the native Drupal body/teaser fields and create cck replacements
for them. But it also means your implementation of this is no 15 minute
job. I also don't know how much legacy data you have.<br>
<br>
There might be a simpler solution that I'm not thinking of.<br>
<br>
Shai<br>
<br>
<div><span class="gmail_quote">On 3/19/08, <b
class="gmail_sendername">Tim Vaughan</b> <<a moz-do-not-send="true"
href="mailto:tim@timvaughan.co.uk">tim@timvaughan.co.uk</a>> wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
list,<br>
<br>
I want to be able to allow anonymous users to see node teasers but not<br>
full nodes. Logged-in users should have access to the full nodes. Is<br>
there currently a module for 5.x or 6.x that will let me do this?<br>
<br>
Thanks!<br>
<br>
--<br>
Tim Vaughan<br>
07725749263<br>
<br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br>
</blockquote>
</div>
<br>
</blockquote>
</body>
</html>