I have created a new field for a content type using CCK . However I want to make the display of this field invisible only to those logged in or subscribed . How can I succeed ?

Comments

vm’s picture

http://drupal.org/search/node/cck+field+permissions

which reveals the cck field permissions module.

arh1’s picture

or, instead of adding another module you may prefer to tweak your theme to accomplish this. there are many ways to theme CCK data, but wherever you're going to show the field you can do something like this:

<?php
global $user;
if (!$user->uid) {
  // print the field data here; only anonymous users will see this 
}
?>