• Publisert
  • 1 min

Disable gadget problem

<p>While upgrading a large site to CMS 6, I discovered a strange "feature" in the dashboard gadget handling. This is a small blog post on how you fix it if others run into the same problem.</p>

I'm working on a large site (close to 500,000 pages) and there are some standard functionality that does not work well on such large sites. We are currently upgrading the site to CMS 6, and while doing so I needed to hide some of the gadgets from the dashboard. The Unchanged pages gadget crashed every time it was loaded, so I had to disable it.

According to the documentation, you disable a gadget by adding the type name to the config file. Like this:

<episerver.shell>
  <dashboard>
    <disabledGadgets>
      <add name="EPiServer.Cms.Shell.UI.Controllers.QuickLinksController" />
    </disabledGadgets>
  </dashboard>
</episerver.shell>

But, nothing happended when I added the line:

<add name="EPiServer.Cms.Shell.UI.Controllers.NotChangedPagesController" />

It worked well for other gadgets, so I tried several combinations... My last try was to use the display name. That actually helped! So, if you need to hide the "Unchanged pages" gadget, you need to add the following line:

<add name="Not Changed Pages" /> 

(Note: I submitted this to support as a bug)