# Hide some page types from page edit form

**URL:** <https://www.ruby-forum.com/t/hide-some-page-types-from-page-edit-form/197834>\
**Category:** Radiant CMS\
**Created:** [October 20, 2010, 11:49pm UTC](https://www.ruby-forum.com/t/hide-some-page-types-from-page-edit-form/197834 "2010-10-20T23:49:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [October 20, 2010, 11:49pm UTC](https://www.ruby-forum.com/t/hide-some-page-types-from-page-edit-form/197834/1 "2010-10-20T23:49:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 21, 2010, 6:25pm UTC](https://www.ruby-forum.com/t/hide-some-page-types-from-page-edit-form/197834/2 "2010-10-21T18:25:04Z")

</div>

On Wed, Oct 20, 2010 at 5:48 PM, swartz [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

> <https://github.com/radiant/radiant/blob/master/app/views/admin/pages/_fields.html.haml#L37>

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)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 22, 2010, 1:21am UTC](https://www.ruby-forum.com/t/hide-some-page-types-from-page-edit-form/197834/3 "2010-10-22T01:21:42Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 29, 2010, 4:12am UTC](https://www.ruby-forum.com/t/hide-some-page-types-from-page-edit-form/197834/4 "2010-10-29T04:12:10Z")

</div>

On Thu, Oct 21, 2010 at 7:20 PM, swartz [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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](http://prototype.radiantcms.org/admin/pages)  
Look into the sheets extension for limiting the new page options

> **[GitHub - radiant/radiant-sheets-extension: Manage CSS and Javascript content in Radiant CMS...](https://github.com/radiant/radiant-sheets-extension)**
>
> Manage CSS and Javascript content in Radiant CMS as Sheets, a subset of Pages. This is bundled with Radiant
