#468 How to hide type I/E dropdown and custom field for non-admin users?

open
nobody
None
1
2014-01-27
2014-01-27
sjsjsj
No

How to hide type I/E and custom field for non-admin users in edit_entry?

Discussion

  • sjsjsj
    sjsjsj
    2014-01-27

    Ok, i changed

    case 'type':
    create_field_entry_type();
    break;
    TO

    case 'type':
    if ($is_admin) {
    create_field_entry_type();
    } else {
    create_field_entry_type(I);
    }
    break;

    and this hide I/E type from non-admins.
    Not hide, but can`t edit.
    But how to do same with custom fields?

     
    Last edit: sjsjsj 2014-01-27


Anonymous


Cancel   Add attachments