heart-bits/contao-recipes-bundle
最新稳定版本:0.2.0
Composer 安装命令:
composer require heart-bits/contao-recipes-bundle
包简介
Recipes extension for Contao Open Source CMS
关键字:
README 文档
README
This bundle provides a way for Contao to manage recipes as well as recipe categories, units and ingredients.
Installation
Install the bundle via Composer:
composer require heart-bits/contao-recipes-bundle
Configuration
Migrations
Once installed, if you don't have any units and/or ingredients set, the migration/s will import a basic set of units/ingredients into your system:
vendor/bin/contao-console contao:migrate
Currently, the ingredients and units are only imported in german language. But you can edit these imported values afterwards or add more to the list of course.
If you don't want to import these at all, you can also skip the migrations by adding --schema-only to the command above and add your individual values.
Modules
The bundle provides a list and reader module which can be created and should be added to separate pages.
The list modules should redirect to the page, where the reader module was placed.
After that the page with the reader module must also have the Require an item setting checked.
Recipes inside the list module will then automatically add a read more link for the reader page correctly, if contents exist inside them.
Elements
Inside the recipes, you have the possibility to add detailed contents to it.
Possible elements currently include:
Recipe stepAdds numbered steps to the recipeRecipe imageAdds an image to the recipeGalleryAdds a Contao core gallery to the recipe
NOTE: It is not possible to choose other Contao core or third party elements inside the recipe without overwriting the options_callback of the type field in tl_content.
Roadmap
- Filter frontend module for ingredients and categories
- Add week plan for logged in frontend users
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2022-10-01
