0

我拼命地试图找到 ExpressionEngine 的开源替代品,不是因为我有支付它的问题,不幸的是我无法在每个站点上证明它是合理的。

PyroCms 似乎是一个非常完善的开源选项,但我似乎无法弄清楚如何将模板链接到视图,然后链接到 url。如何为最终用户创建自定义字段以添加内容?然后如何将这些自定义字段链接到特定模板?这甚至可能吗?

也许我的头脑仍然处于 EE 模式,但虽然 Pyro 文档看起来很好,但我确实觉得它们有点轻,也许可以理解,因为它是一个非商业产品。

如果我走错了路,是否有不同的选项可以让我保持与 ExpressionEngine 类似的工作流程?

谢谢你的帮助。

4

1 回答 1

0

PyroCMS does things a little differently from ExpressionEngine so there will be a little confusion coming from one to the other expecting things to be the same.

URL's can be a few different things:

  1. Module
  2. Page
  3. Route

So, /blog goes to the blog module.

/foo loads up a page that you have created called "Foo" with a slug of "foo".

/login is a route, that goes to /users/login

Unlike ExpressionEngine there is not the idea that every URL maps to a template which needs to be created in the database. Instead a module can load its own views (which can be overridden in the theme) and pages can be easily created by the user entirely without needing to know anything about templates.

The general idea is that the designer creates the theme, the developer creates the modules and the end user just uses, without needing to set up templates and URL mapping, etc. By keeping the specific tasks to specific types of user there is no confusion in the middle where end users try to redesign the site (think MySpace) or designers end up writing code. Instead everyone does what they are best at and can share the results in the Add-on Store on the site.

"I do find them a bit light, perhaps understandable as it is a non-commercial product."

If you could give some feedback through our forums or contact form about where you feel the product is light then perhaps we can work out A) if the functionality could be added or B) if the functionality is there but could be made more obvious.

PyroCMS is not just some "dumped onto GitHub" hobby project by a few devs, it is its own company with support staff and a team of developers, so we don't like to see comments like this! If anything can be done to help you just need to ask. We don't troll StackOverflow that often so just swing by our site with any other questions.

于 2012-05-22T00:24:11.677 回答