unkonf/sulu-schemaorg-event-bundle
最新稳定版本:v0.1.0
Composer 安装命令:
composer require unkonf/sulu-schemaorg-event-bundle
包简介
Sulu bundle for rendering schema.org event information
README 文档
README
This is a Sulu bundle to manage Schema.org Event metadata for your Sulu webspaces.
Installation
composer require unkonf/sulu-schemaorg-event-bundle
- Register the bundle in the file
config/bundles.php
UnKonf\Sulu\SchemaOrgEventBundle\UnKonfSuluSchemaOrgEventBundle::class => ['all' => true],
- Configure the routing as follows:
Create file config/routes/schemaorgevent_admin.yaml:
schemaorgevent_api: resource: "@UnKonfSuluSchemaOrgEventBundle/Resources/config/routing_api.yaml" type: rest prefix: /admin/api
- Run Doctrine Schema Update
./bin/adminconsole doctrine:schema:update -f
Usage
Once installed, this bundle adds a tab called "Schema.org Event" to the webspaces configuration which allows you to create new schema.org Event entries for the different webspaces. For each webspace only one event configuration can be saved.
The tab is only visible once the user got the permissions assigned. Create a new role via "Settings > User role" first, and assign it to the users that should be able to manage the settings.
Contribute
Please feel free to fork and extend existing or add new features and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and adapt the documentation.
Want To Contribute?
If you feel that you have something to share, then we’d love to have you. Check out the contributing guide to find out how, as well as what we expect from you.
License
Sulu Schema.org Event Bundle is released under the MIT License.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-06