Hide Add Pages

Hi there!

I have already read many articles that are about hiding page objects.

The use of “implements HiddenClass” hides an entire page. So it’s just a permanent solution for a help site or something.

The use of “canCreate = false” extends the

by the entry disabled. This colors the corresponding page and “disabled”.

This is CSS-controlled in the “vendor/silverstripe/admin/client/dist/styles/bundle.css”:
.cms-add-form .radio.disabled {
color: # 566b8d;
opacity: .6;
}

I once replaced everything with a “display: none”. The entry is not only grayed out and disabled, but also completely hidden. I could not find any side effects.

Would this be an opportunity to be introduced as a change? In any case, the “Page-Add” page becomes much clearer and does not awaken so many desires.

greeting
RALF