How to get Easy Edit Suite to start on a specific screen?

Sorry if this should be in the issues thread.


One of the great things about the simple edit system was the ability to tailor-create edit screens for specific asset types, or areas in the asset map.



How can I do this with Easy Edit Suite?



For example, for some news items, all I want people to be able to edit is the metadata. When I built my simple edit layout, I just put all the metadata stuff on the details page. Problem solved. But with the Easy Edit Suite it seems like I can't customise it for certain assets?



Is this correct, or can someone tell me how to do this?

There ability to configure it to that level doesn't exist at the moment. You could write your own plugin to achieve this after the modes are switched.


Example only:

    
    EasyEdit.plugins.hideScreens = {
    init: function() {
        var self = this;
        
        // Add a function to the mode change
        EasyEditEventManager.bind('EasyEditModeChange',self.hide);
    },
    hide: function(){
        
        var screensToHide = '.urls,.workflow';
        var $menu = jQuery('#ees_screenMenuList');
        
        if ($menu.length) {
            EasyEditAssetManager.getCurrentAsset(function(asset){
                switch (asset.attribute('type_code')) {
                    case 'page_standard':
                    case 'news_item':
                        jQuery(screensToHide,$menu).parent().parent().addClass('screenHide');
                        break;
                }
            });
        }// End if
    }
    };


That example would hide the workflow and url tabs from the menu bar for standard pages and news items.

By default the details screen is accessed at the point you switch to editing mode, so you might want to leave that particular one visible, or point people toward the url as /_edit?screen=<screen_name>