简体   繁体   English

在舒适的墨西哥沙发cms中创建多个父页面

[英]Create multiple parent pages in comfortable mexican sofa cms

Sincerely saying I am new to ruby on rails. 真诚的说我对红宝石一无所知。 Since I want to use content management system in my existing ruby 2.0.0 rails 4.1.1 application . 由于我想在现有的ruby 2.0.0 rails 4.1.1应用程序中使用内容管理系统。 I am using comfortable_mexican_sofa 1.12.1 我正在使用comfort_mexican_sofa 1.12.1

I choose to use comfortable Mexican sofa cms it was just awesome and easy to implement and use in application but when I tried to create second parent it was taking as child of first parent only. 我选择使用舒适的墨西哥沙发cms,它很棒而且易于实现并在应用程序中使用,但是当我尝试创建第二个父级时,它仅作为第一个父级的子级。

Throughout I was not able to create second new parent is this cms functionality is like this only or I am doing any wrong. 在整个过程中,我无法创建第二个新父级,是因为此cms功能仅仅是这样,还是我做错了什么。 Please suggest me. 请给我建议。

There's only one root page. 只有一个根页面。 This is by design. 这是设计使然。 Imagine you have /about and /help pages. 假设您有/about/help页面。 You may think that they don't have a parent page, but they do. 您可能会认为他们没有父页面,但是他们有。 It's a / . / That one, obviously, can't have a parent page. 显然,该页面不能具有父页面。

If you have your own controller serving / (usually a root_path ) then you'll just have a blank page in CMS. 如果您有自己的控制器服务/ (通常是root_path ),那么CMS中将只有一个空白页。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM