Cms: [Feature Request] Ability to remove "All entries" from left panel of Entries page

Created on 22 Apr 2018  路  3Comments  路  Source: craftcms/cms

For most of my sites, it doesn't make sense to mix all the different sections and entry types in the same list. I would love a simple option to toggle the visibility of the "All entries" source without using a plugin. I imagine it would go in the "Customize sources" modal.

all-entries

authoring enhancement

Most helpful comment

I'm (probably) not against this in some cases, but my main concern with this would be: _How do I just search across everything if I don't know where something is?_

I recently inherited a site that was poorly architected and the developer had done this (hidden the "All Entries" option) using custom CSS in the Control Panel. It was not clear at all where certain entries were and the client was complaining about a poor experience finding what they were looking for as they had to click on each Section to search for what they wanted (they did not know they could remove the CSS hiding the "All Entries" option).

For your consideration.

All 3 comments

Related: #1630

If anyone is looking to do this now, I was able to do it with a few lines in a module:

// Remove "All Entries" source
Event::on(
    Entry::class,
    Entry::EVENT_REGISTER_SOURCES,
    function (Event $event) {
        array_shift($event->sources);
    }
);

I'm (probably) not against this in some cases, but my main concern with this would be: _How do I just search across everything if I don't know where something is?_

I recently inherited a site that was poorly architected and the developer had done this (hidden the "All Entries" option) using custom CSS in the Control Panel. It was not clear at all where certain entries were and the client was complaining about a poor experience finding what they were looking for as they had to click on each Section to search for what they wanted (they did not know they could remove the CSS hiding the "All Entries" option).

For your consideration.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brandonkelly picture brandonkelly  路  3Comments

angrybrad picture angrybrad  路  3Comments

michaelhue picture michaelhue  路  3Comments

lukebailey picture lukebailey  路  3Comments

michel-o picture michel-o  路  3Comments