Musielak Marek

Posted on Friday, May 15, 2009 by Marek Musielak

EPiServer - hiding 'Workflow' and 'Statistics' tabs

When you use edit mode of the EPiServer CMS and select any of the pages then you see 5 tabs above it: "View", "Edit", "Version List", "Workflow" and "Statistics". While the first 2 of them are used frequently and the third one ("Version List") is pretty useful for advanced users, the last 2 of them ("Workflow" and "Statistics") are redundant in many cases. And editors don't even need to know that they exist. So lets hide them.


EPiServer workflow and statistics tabs



It can be easily done in admin mode with a tool called 'Plug-in Manager' which can be found on the 'Config' tab.


EPiServer Plug-in Manager


The way of hiding the tabs is slightly different for various versions of EPiServer. I tested it in with 5.1.422.256 and 5.2.375.133 versions.

Hiding 'Workflow' tab:
- in 5.1.422.256 version - choose 'EPiServer.WorkflowFoundation.UI' plugin, switch to 'Overview' tab and deselect 'Workflow (EditPanel)' option in the 'User Interface' section.
- in 5.2.375.133 version - choose 'EPiServer User Interface' plugin, switch to 'Overview' tab and deselect 'Workflow (EditPanel)' option in the 'User Interface' section.

I you need to hide 'Statistics' tab (in both versions) choose 'EPiServer User Interface ' plugin, switch to 'Overview' tab and deselect 'Statistics (EditPanel)' option in the 'User Interface' section.

It can be slightly different in the version of the EPiServer which you use, but the general rule is the same.
Shout it
Read More »

Related Posts:


5 Responses to EPiServer - hiding 'Workflow' and 'Statistics' tabs

  1. Anonymous
    May 19, 2009 at 11:52 AM
    Works like a charm, thanks for the tip!
  2. marekblotny
    May 19, 2009 at 1:52 PM
    Great tip! do you know how to hide Categories Tab?
  3. Anders Hattestad
    May 19, 2009 at 6:18 PM
    You can also hide them based on roles
    http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/5/Hiding-tabs-based-on-roles/
  4. Marek Musielak
    May 20, 2009 at 9:36 AM
    @Anders That's helpful - thanks for the link.

    @Marek I created a solution that hides Categories tab based on Anders code. You can download it here http://marasm.pl/resources/resource.php?EditModeTabsAdapter.zip. The only thing that you need to do (beside including this class into your project) is to add a line

    <adapter controlType="EPiServer.UI.Edit.EditPanel" adapterType="Marasm.PlugIns.EditModeTabsAdapter" />

    to the *.browser file to the <controlAdapters /> section of the default browser.
  5. Anders Hattestad
    May 20, 2009 at 12:05 PM
    Du any of you know how to add an adapter in code instead of in the browser file?

Post a Comment