agitation / ui-bundle
此包的规范存储库似乎已消失,因此包已被冻结。
Requires
- agitation/base-bundle: ~1.0
- agitation/intl-bundle: ~1.0
Suggests
- agitation/localedata-bundle: Required to display a language switcher with actual localized language names.
- agitation/user-bundle: Required to check user capabilities. Without it, pages requiring a capability cannot be displayed.
- dev-master
- 1.14.4
- 1.14.3
- 1.14.2
- 1.14.1
- 1.14
- 1.13.8
- 1.13.7
- 1.13.6
- 1.13.5
- 1.13.4
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13
- 1.12.4
- 1.12.3
- 1.12.2
- 1.12.1
- 1.12
- 1.11.1
- 1.11
- 1.10.4
- 1.10.3
- 1.10.2
- 1.10.1
- 1.10
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9
- 1.8.22
- 1.8.21
- 1.8.20
- 1.8.19
- 1.8.18
- 1.8.17
- 1.8.16
- 1.8.15
- 1.8.14
- 1.8.13
- 1.8.12
- 1.8.11
- 1.8.10
- 1.8.9
- 1.8.8
- 1.8.7
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.12
- 1.7.11
- 1.7.10
- 1.7.9
- 1.7.8
- 1.7.7
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6
- 1.5
- 1.4
- 1.3
- 1.2
- 1.1
- 1.0
This package is not auto-updated.
Last update: 2022-07-24 12:46:12 UTC
README
Agitation 是一个基于 Symfony2 的电子商务框架,专注于通过插件 API、UI、支付模块和其他组件的可扩展性。
AgitUiBundle
此组件的主要功能是提供可插拔的前端页面。页面可以注册为“插件”。为此,AgitUiBundle 引入了一个用于 Twig 模板的元注解,允许页面自我描述。
此类自我描述的页面包含其在导航树中的位置以及同级节点中的顺序,以及关于访问页面所需用户能力的安全性信息。
除此之外,当前组件还包含 Twitter bootstrap、jQuery 和几个网络字体。是的,它们可能应该从专用组件中包含。
规范 URL
Agitation UI 页面支持规范 URL。用户和搜索引擎将自动重定向到正确的 URL。
例如,如果您有一个页面 /path/to/contactform
,但用户输入 /path/to/contactform/
或 /path/////to///contactform
,它们将被重定向到正确的规范 URL。
多语言页面
如果您通过 AgitIntlBundle 激活了多个区域设置,则每个页面都将有一个对应的 URL。
例如:如果您激活了区域设置 en_US
和 de_DE
,以 en_US
作为您的首选区域设置,则页面 /path/to/contactform
也会允许进入 /path/to/contactform/de
(即,将区域设置的语言部分附加到 URL 上)到浏览器以访问德语页面。
作为额外的好处,此功能还支持规范 URL。如果用户输入 /path/to/contactform/en
,如果您的首选区域设置是 en_US
,则它们将被重定向到 /path/to/contactform
。