I want to disable the modification of both the file name and title of a specific asset type.
How can I do that ?

enter image description here


I guess this feature request will solve my problem... in the future:

But in the meantime I did it with a small css hacking (no choice):

protected function includeResources()

switch ( $segments[ 0 ] ) {
    case 'entries' : case 'categories' : case 'assets' :
        craft()->templates->includeCssResource( 'plugin/styles.css' );


// remove title and name fields from modal editor in CP assets page
    .hud {
        .body.elementeditor {
            .field[id$="filename-field"], .field[id$="-title-field"] {
                display: none;
            .field {
                margin-top: 0px;

Works fine :
enter image description here


You can disable the capacity to upload, remove, or create subfolders for assets to whomever you wish through the users control panel.

You could potentially solve this problem by limiting the users control to allow them only to upload and not change folders or delete. (see image below)

Craft User Limitation

  • No those permissions are not precise enough in my case. I just want to disable name and title fields.
    – migswd
    Aug 14 '15 at 17:56
  • hmm, really sorry wouldn't know then :/ ... Maybe there is some kind of plug-in that could help here.
    – Matteo
    Aug 14 '15 at 17:59
  • Right I am making it indeed :D
    – migswd
    Aug 14 '15 at 18:00
  • Awesome, goodluck my friend!
    – Matteo
    Aug 19 '15 at 19:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.