[DUG-TO] A problem to contemplate

Vladimir Kryachko v.kryachko at gmail.com
Tue Apr 14 13:37:44 EDT 2009


Evan, actually that's the default behavior of drupal, no one will see
these fields accept user/1 unless you give a permission to the
specific role to see it.

2009/4/14 Evan Leibovitch <evan at telly.org>:
> Alex De Winne wrote:
>> I would recommend only using contemplate if you need to. Things like hiding
>> comments for particular content types can easily be done with template file
>> overrides (node-type.tpl.php). For display forms, CSS and hook_form_alter
>> have served me well in the past.
>>
>
> Thanks to Alex and others for your helpful replies.
>
> The more I read, the more I seem to find similar advice; that the
> Contemplate module is useful for identifying the
> fields to display, but that I should be using node-type.tpl.php and not
> Contemplate to do the actual display.
>
> On trying that, I notice that it only affects the display form and not
> the data-entry one, and that's not quite what I want.
>
> What I really want to do is disable certain "standard" content-creation
> fields (ie, menus, revision information, URL path, publishing options)
> for non-admin users, having them use their current defaults for most
> content types. In a perfect world I'd be able to customize this per
> content-type. CCK gives me sufficient permissions control over user
> ability to edit my custom fields, but no control over the "standard" ones.
>
> Does there exist a module that would allow me to set permissions of
> whether certain users are allowed to edit menu, publishing or other such
> info? Or am I missing some existing settings?
>
> Thanks!
>
> - Evan
>
> _______________________________________________
> DUG-TO mailing list
> DUG-TO at lists.openject.com
> http://lists.openject.com/listinfo/dug-to
>


More information about the DUG-TO mailing list