Deleting Page Types safely

Evan Pittfield
Member since: 2018

A few questions:

  1. Is it possible to delete page types from CMS -> Admin -> Content Type?  I am using an admin account with full permissions and am not seeing a delete button when looking at the properties for a specific page type.

  2. How can I see a list of pages (by page name) that are currently using a specific Page Type?
Jun 13, 2018 17:17
Paul Gruffydd
Member since: 2008

Hi Evan,

Yes, it is possible to delete page types from admin but only under certain circumstances. In order to delete a page type, the following must be true:

  • The type must not exist in your code (either because it's been manually created in the admin section in the first place or the model has subsequently been removed from your code)
  • The type must not be in use by any content items

If those requirements are met, you should be able to find the delete button by clicking on "settings" on the type.

To see a list of pages by type you could create a plugin to pull that information out programmatically though, as luck would have it, Nicola Ayan has done the hard work for you here:

Alternatively, if you are using Find on your site, you can look at the contents of the index from Find > Overview > Explore.

Jun 14, 2018 11:22
Evan Pittfield
Member since: 2018

Thanks Paul!

I installed the plugin and it seems to be working great!

Jun 14, 2018 17:43
This topic is created over 6 months ago and already resolved. If you have similar question please create new topic and refer to this one.