Can't delete a pagetype when no pages use it...1 1 Browser Info Environment
But I have tjecked using the page search to see if any page use the pagetype and none does.
I have also tjecked if some was not approved and that might cause the problem, but all is approved.
So I guess there is a bug here...
I had this once. You should go to the sitemap and check the 'show system pages' option.
Then remove the pages in the !Trash folder.
Afterwards you can remove unused page typed, with the exception of the default type
You are right - It worked...
But maybe it would be a good feature to have som information on the page search about some pages using it in the trashcan under systempages.
It would have helped a lot ;-)
// Brian N
Remember to Remove Composer Drafts pages if they use the pagetype you want to delete.
If C5 if good enough to detect, then surely it could provide a list of pages and versions the page type is used on?
Probably just an oversight, but definitely something needed.
If you cannot delete a Page Type:
- Go to Full Sitemap > show system pages > emtpy trash (by clicking on it)
- Go to Automated Jobs (Intelligent Search) and run the job that removes old page versions. Do it several times until is says something like: "finished, will start from beginning")
Open Phpmyadmin --> Go To "PageTypes" table
--> Select your unwanted "PageType" and click on "Delete"