
By maximang on
Hi!
I want to add a field that is shown only for administrator. But I don't know how to do.
I tried to add a field in Administer > Content management > Content types, but the field isn't on the page.
Sorry for my English...
Can you help me ?
Thanks,
Maxi-ManG
Comments
=-=
what kind of field?
did you add the CCK.module?
D6 docs for fiedls = https://drupal.org/node/328149
Re: =-=
what kind of field?: Text area
did you add the CCK.module?: Yes, the CCK module is installed.
I follow the doc but it doesn't work. The field is in the Manage fields, but it isn't on the page...
Try field permissions
Try field permissions https://drupal.org/project/field_permissions
Re: Try field permissions
Already enabled too. I ticked all the permissions to be sure but the field doesn't appears on the page.
=-=
you will need to provide more information about how you've set this up.
have you inspected the manage display tab?
Re: =-=
I didn't find the manage display tab, where is it ?
I don't know much Drupal, I had to take an unfinished project.
I want to add a field in a node (I think it's called like that in Drupal). This field is going to contain one or many password(s) (with picture sometimes) that only some users can view. For the moment, everybody can see it because it is in the body of the node.
To add this field, I go to Administer > Content type > Marche à suivre (it's the name of my node) - manage fields > New field. Here is some screenshots :





=-=
In D6 the tab in question is labeled display fields as shown in your first screenshot. For future reference do not use the image button in the editor. You can add the links directly in your comment.
Also what defines an "administrator" ? do you have a specific role set up for your "administrator" users? and are those users added to that role?
Resolved
Ohhh thank you !
The problem was that the field wasn't added in the role.