Hiding options in easy edit asset creation wizard


(Gjboyd7) #1

Hi

 

Is there a way to hide options (assets) in the asset creation wizard.  Our editors only need to create a couple of asset types, for example pages, and images.  We would like to hide all other options from the wizard to avoid confusion.

 

Also would like to rename the standard page option title and description to something else, which will guide our content editors better.

 

Thanks


(Nic Hubbard) #2

I would think using CSS you could his these. If that doesn't work I would think a custom js plugin for the EES would work.

 

http://manuals.matrix.squizsuite.net/ees/chapters/css-customisations

http://manuals.matrix.squizsuite.net/ees/chapters/javascript-plugins


(Tim Davison) #3

We use CSS to hide Category options as well as specific asset types:

<style>
  /* Asset creation types to hide - customised for each site */
  #ees_categoryLink_Events { display: none; }
  #ees_categoryLink_Other { display: none; }

#ees_assetCreationWizardAssetTypes .ees_categoryGroup_folder { display: none; }
#ees_assetCreationWizardAssetTypes .ees_categoryGroup_flv_file { display: none; }
#ees_assetCreationWizardAssetTypes .ees_categoryGroup_file { display: none; }
</style>

This will result in some grey lines stacking up on themselves, so I'd also recommend the following overrides for the default EES CSS:

/* Fix borders for hidden asset categories */
#ees_assetCreationWizardCategories.modalBodyCategories ul li { border: none; }                        
#ees_assetCreationWizardCategories.modalBodyCategories ul { border-top: dotted 1px #CCCCCC; }
#ees_assetCreationWizardCategories.modalBodyCategories ul li a { border-bottom: dotted 1px #CCCCCC; }

That way, when you hide the categories and types, the borders for those elements get hidden as well.

 

Cheers


(Scott Hall) #4

There are a couple of configuration options that may help, that were only added in a later version. They are optional and are not actually documented in the online manuals, if you have Edit+ they are in the extended example of the configuration file...

 

    // [OPTIONAL] Create wizard asset type black lists     // Remove individual asset types from the wizard
    //createWizardAssetBlackList: ['news_item'],

    // [OPTIONAL] Create wizard category black lists
    // Remove an entire category from the wizard
    //createWizardCategoryBlackList: ['Events','Other'],