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 2010-10-20 23:49
on 2010-10-21 18:25
On Wed, Oct 20, 2010 at 5:48 PM, swartz <netvent@gmail.com> 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 http://github.com/radiant/radiant/blob/master/app/... 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)
on 2010-10-22 01:21
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 2010-10-29 04:12
On Thu, Oct 21, 2010 at 7:20 PM, swartz <netvent@gmail.com> 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 http://github.com/radiant/radiant-sheets-extension
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.