Closed BenMorganIO closed 10 years ago
I don't really see the need for this. Maybe you could provide an example where this makes sense? Thanks
Anyway. We are currently working on decoupling the pages from the nested tree structure that represents the navigation. Then pages aren't organized in an tree like structure anymore anyway, so your proposed change will probably never make it into the core.
Sorry
@BenMorganIO please understand, that we close this now.
As pages are still organised as a nested set, even the layout pages / global pages (I apologise for the confusing naming), you actually can nest them. You only have to provide a GUI for showing the nesting of pages in the "global pages" view. Overriding https://github.com/magiclabs/alchemy_cms/blob/master/app/views/alchemy/admin/layoutpages/index.html.erb and https://github.com/magiclabs/alchemy_cms/blob/master/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb should do the trick.
Hope you understand
Currently, you can add child pages for static pages. For global pages, I don't believe this is an option.
When a page is added to a global page, I'm hoping that this can be a global page that would nest into the current page.
This would be useful when you need a high amount of regression for the user when it comes to page layouts.