Page 1 of 1

[Active/Inactive] Page state in CMS

Posted: Tue Jun 14, 2011 5:38 pm
by vinyl
Is it possible to check if a page is active in the CMS?

If you would like to do a redirect to lets say "example" but it is marked as "inactive" in the backend that it defaults to another page?

I know the redirecting etc takes custom code but that is not a problem.

Re: [Active/Inactive] Page state in CMS

Posted: Tue Jun 14, 2011 7:52 pm
by Jos
You can create a new page with the field Content Type set to "Error Page"

If a page does not exist or is not active, the user will be redirected to that page.

Re: [Active/Inactive] Page state in CMS

Posted: Tue Sep 06, 2011 2:33 am
by gocreative
Perhaps a better solution to this would be a section within CMSMS which lists page and GCB dependencies. This way, you could quickly see the links, redirects, GCBs etc which make reference to that page alias/ID.

Taking it a step further, when creating a redirect page, disable the selection of any page which is marked as 'inactive'. Also, when changing a page to 'Inactive', alert the user which dependencies exist so that they can decide whether to proceed or not.