mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-18 10:36:52 +03:00
Recipes for the kunstmaan cms skeleton bundles
recipe for the KunstmaanCMS Translator bundle added usermanagement recipe Kunstmaan/admin-bundle default recipe added translator routes Kunstmaan/admin-list-bundle default recipe added sitemap bundle added seo bundle recipe Kunstmaan/form-bundle default recipe Kunstmaan/media-bundle default recipe added pagepart recipe Kunstmaan/node-bundle default recipe Kunstmaan/cache-bundle default recipe Kunstmaan/config-bundle default recipe added search recipe added redirect recipe Fixed config bundle config added menu recipe Kunstmaan/dashboard-bundle default recipe fix indentation fix indentation form bundle fix indentation config bundle Fix dashboard config indents Fix admin config indents Fix admin-list config indents Fix cache config indents fix config Menu bundle new line node config indents Fix search bundle config Remove cache bundle recipe
This commit is contained in:
committed by
Jeroen Thora
parent
bce79fc5f0
commit
c42a2f27b5
@@ -0,0 +1,6 @@
|
||||
kunstmaan_admin:
|
||||
multi_language: true
|
||||
required_locales: nl|fr|en
|
||||
default_locale: en
|
||||
admin_locales: ['en']
|
||||
website_title: 'MyProject' #Rename this to your website name
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanAdminBundle:
|
||||
resource: "@KunstmaanAdminBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\AdminBundle\\KunstmaanAdminBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanAdminListBundle:
|
||||
resource: "@KunstmaanAdminListBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\AdminListBundle\\KunstmaanAdminListBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
#kunstmaan_config:
|
||||
# Add your custom config entities here
|
||||
# entities:
|
||||
# - \App\Entity\CustomConfigEntity
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanConfigBundle:
|
||||
resource: "@KunstmaanConfigBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\ConfigBundle\\KunstmaanConfigBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
# Configurate the dashboard bundle google api parameters to enable the google widget
|
||||
# More info at https://kunstmaanbundlescms.readthedocs.io/en/latest/cookbook/google-analytics-dashboard/
|
||||
#kunstmaan_dashboard:
|
||||
# google_analytics:
|
||||
# api:
|
||||
# client_id: ''
|
||||
# client_secret: ''
|
||||
# dev_key: ''
|
||||
# app_name: ''
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanDashboardBundle:
|
||||
resource: "@KunstmaanDashboardBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\DashboardBundle\\KunstmaanDashboardBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanFormBundle:
|
||||
resource: "@KunstmaanFormBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\FormBundle\\KunstmaanFormBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanMediaBundle:
|
||||
resource: "@KunstmaanMediaBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\MediaBundle\\KunstmaanMediaBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#kunstmaan_menu:
|
||||
# menus:
|
||||
# - main_navigation
|
||||
# - footer_navigation
|
||||
#
|
||||
# This is example configuration code. You can add as many menu's as you like
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanMenuBundle:
|
||||
resource: "@KunstmaanMenuBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\MenuBundle\\KunstmaanMenuBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanNodeBundle:
|
||||
resource: "@KunstmaanNodeBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\NodeBundle\\KunstmaanNodeBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
imports:
|
||||
- { resource: '../kunstmaancms/**/*.yml', ignore_errors: true}
|
||||
|
||||
kunstmaan_page_part:
|
||||
extended_pagepart_chooser: true
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanPagePartBundle:
|
||||
resource: "@KunstmaanPagePartBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\PagePartBundle\\KunstmaanPagePartBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanRedirectBundle:
|
||||
resource: "@KunstmaanRedirectBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\RedirectBundle\\KunstmaanRedirectBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
kunstmaan_search:
|
||||
connection:
|
||||
driver: elastic_search
|
||||
host: localhost
|
||||
port: 9200
|
||||
index_prefix: myproject # Change this prefix to you liking. Maybe the name of your project
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\SearchBundle\\KunstmaanSearchBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
KunstmaanSeoBundle:
|
||||
resource: "@KunstmaanSeoBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
|
||||
# Robots.txt
|
||||
KunstmaanSeoBundle_robots:
|
||||
resource: "@KunstmaanSeoBundle/Controller/RobotsController.php"
|
||||
type: annotation
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\SeoBundle\\KunstmaanSeoBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanSitemapBundle:
|
||||
resource: "@KunstmaanSitemapBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\SitemapBundle\\KunstmaanSitemapBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
kunstmaan_translator:
|
||||
enabled: true
|
||||
# Add your preferred locales here
|
||||
managed_locales: ['nl', 'en', 'de', 'fr']
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanTranslatorBundle:
|
||||
resource: "@KunstmaanTranslatorBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\TranslatorBundle\\KunstmaanTranslatorBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
KunstmaanUserManagementBundle:
|
||||
resource: "@KunstmaanUserManagementBundle/Resources/config/routing.yml"
|
||||
# If your site is not multi language, remove the "{_locale}/" part of prefix and requirements
|
||||
prefix: /{_locale}/
|
||||
requirements:
|
||||
_locale: "%requiredlocales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\UserManagementBundle\\KunstmaanUserManagementBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user