mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-16 01:26:27 +03:00
Merge pull request #620
This commit is contained in:
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: '%env(GOOGLE_API_CLIENT_ID)%'
|
||||
client_secret: '%env(GOOGLE_API_CLIENT_SECRET)%'
|
||||
dev_key: '%env(GOOGLE_API_DEV_KEY)%'
|
||||
app_name: '%env(GOOGLE_API_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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\DashboardBundle\\KunstmaanDashboardBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"GOOGLE_API_CLIENT_ID": "client_id",
|
||||
"GOOGLE_API_CLIENT_SECRET": "secret",
|
||||
"GOOGLE_API_DEV_KEY": "dev_key",
|
||||
"GOOGLE_API_APP_NAME": "MyDevApp"
|
||||
}
|
||||
}
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
|
||||
# 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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -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: "%kunstmaan_admin.required_locales%"
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Kunstmaan\\UserManagementBundle\\KunstmaanUserManagementBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user