Hide some page types from page edit form

Anyone know what is the easiest way to hide certain Page Types when in
page edit form?

I’m primary interested in hiding the ones my client has no use for
(all Archive capability) and also to hide one other type that I
created and is merely a parent page class with 3 other page types
inheriting from it.

On Wed, Oct 20, 2010 at 5:48 PM, swartz [email protected] wrote:

Anyone know what is the easiest way to hide certain Page Types when in
page edit form?

I’m primary interested in hiding the ones my client has no use for
(all Archive capability) and also to hide one other type that I
created and is merely a parent page class with 3 other page types
inheriting from it.

The way we create pages is changing in the next release. What version
of Radiant are you using?

You can override the regions of the UI with partials
See this line

You could create an extension with a partial in
app/views/admin/pages/_edit_type.html.haml (or erb)
Radiant should load that partial instead of the hard-coded region (I
think)

Hi Jim,

Thank you for your suggestions.
Forgot to mention using 0.9.1gem.

What are the changes that are going to happen in the next release?

On Thu, Oct 21, 2010 at 7:20 PM, swartz [email protected] wrote:

Hi Jim,

Thank you for your suggestions.
Forgot to mention using 0.9.1gem.

What are the changes that are going to happen in the next release?

Adding of pages will work a bit like this
http://prototype.radiantcms.org/admin/pages
Look into the sheets extension for limiting the new page options