parent
17de9b3800
commit
fc2db7eb9f
@ -1,9 +0,0 @@ |
||||
# Install phpcr stack before using this configuration |
||||
cmf_routing: |
||||
chain: |
||||
routers_by_id: |
||||
# enable the DynamicRouter with high priority to allow overwriting configured routes with content |
||||
#symfony_cmf_routing_extra.dynamic_router: 200 |
||||
# enable the symfony default router with a lower priority |
||||
router.default: 150 # First chamilo/symfony2 router |
||||
sonata.page.router: 100 # then the page router |
@ -1,47 +0,0 @@ |
||||
fos_ck_editor: |
||||
default_config: default |
||||
autoload: false |
||||
base_path: "public/libs/ckeditor" |
||||
js_path: "public/libs/ckeditor/ckeditor.js" |
||||
configs: |
||||
chamilo: |
||||
filebrowserBrowseRoute: elfinder |
||||
filebrowserBrowseRouteParameters: [] |
||||
default: |
||||
# default toolbar plus Format button |
||||
toolbar: |
||||
- [Bold, Italic, Underline, -, Cut, Copy, Paste, PasteText, PasteFromWord, -, Undo, Redo, -, NumberedList, BulletedList, -, Outdent, Indent, -, Blockquote, -, Image, Link, Unlink, Table] |
||||
- [Format, Maximize, Source] |
||||
|
||||
filebrowserBrowseRoute: admin_chamilo_media_media_ckeditor_browser |
||||
# adobeair iframedialog, |
||||
#extraPlugins: "ajax,audio,image2_chamilo,bidi,colorbutton,colordialog,dialogui,dialogadvtab, div, docprops, find, flash, font, iframe, indentblock, justify, language, lineutils, liststyle, newpage, oembed, pagebreak, preview, print, save, selectall, sharedspace, showblocks, smiley, sourcedialog, stylesheetparser, tableresize, templates, uicolor, video, widget, wikilink, wordcount, inserthtml, xml, qmarkersrolls" |
||||
# filebrowserImageBrowseRoute: editor_filemanager |
||||
# filebrowserImageBrowseRoute: editor_filemanager |
||||
# filebrowserImageBrowseRouteParameters: |
||||
# provider: sonata.media.provider.image |
||||
# filebrowserUploadRoute: admin_chamilo_media_media_ckeditor_upload |
||||
# filebrowserUploadRouteParameters: |
||||
# provider: sonata.media.provider.file |
||||
# Upload file as image when sending a file from the image dialog |
||||
# filebrowserImageUploadRoute: admin_chamilo_media_media_ckeditor_upload |
||||
# filebrowserImageUploadRouteParameters: |
||||
# provider: sonata.media.provider.image |
||||
# context: default # Optional, to upload in a custom context, see sonata_media.yaml |
||||
# format: medium |
||||
plugins: |
||||
# audio: |
||||
# path: "/main/inc/lib/javascript/ckeditor/plugins/audio" |
||||
# filename: "plugin.js" |
||||
# wordcount: |
||||
# path: "/bundles/chamilocore/ckeditor/plugins/wordcount" |
||||
# filename: "plugin.js" |
||||
# adobeair: |
||||
# path: "/bundles/chamilocore/components/ckeditor/plugins/adobeair" |
||||
# filename: "plugin.js" |
||||
# iframedialog: |
||||
# path: "/bundles/chamilocore/components/ckeditor/plugins/iframedialog" |
||||
# filename: "plugin.js" |
||||
# docprops: |
||||
# path: "/bundles/chamilocore/components/ckeditor/plugins/docprops" |
||||
# filename: "plugin.js" |
@ -1,15 +0,0 @@ |
||||
fos_user: |
||||
db_driver: orm |
||||
firewall_name: admin |
||||
user_class: Chamilo\UserBundle\Entity\User |
||||
|
||||
group: |
||||
group_class: Chamilo\UserBundle\Entity\Group |
||||
group_manager: sonata.user.orm.group_manager |
||||
|
||||
service: |
||||
user_manager: sonata.user.orm.user_manager |
||||
|
||||
from_email: |
||||
address: 'test@example.com' |
||||
sender_name: 'test@example.com' |
@ -1,13 +0,0 @@ |
||||
jms_serializer: |
||||
visitors: |
||||
xml_serialization: |
||||
format_output: '%kernel.debug%' |
||||
# metadata: |
||||
# auto_detection: false |
||||
# directories: |
||||
# any-name: |
||||
# namespace_prefix: "My\\FooBundle" |
||||
# path: "@MyFooBundle/Resources/config/serializer" |
||||
# another-name: |
||||
# namespace_prefix: "My\\BarBundle" |
||||
# path: "@MyBarBundle/Resources/config/serializer" |
@ -1,3 +1,4 @@ |
||||
framework: |
||||
router: |
||||
utf8: true |
||||
strict_requirements: ~ |
||||
|
@ -1,7 +1,7 @@ |
||||
simple_things_entity_audit: |
||||
table_prefix: '' |
||||
table_suffix: _audit |
||||
revision_field_name: rev |
||||
revision_type_field_name: revtype |
||||
revision_table_name: revisions |
||||
revision_id_field_type: integer |
||||
#simple_things_entity_audit: |
||||
# table_prefix: '' |
||||
# table_suffix: _audit |
||||
# revision_field_name: rev |
||||
# revision_type_field_name: revtype |
||||
# revision_table_name: revisions |
||||
# revision_id_field_type: integer |
||||
|
@ -1,195 +0,0 @@ |
||||
sonata_admin: |
||||
# default value, change it to sonata.admin.security.handler.acl to use ACL |
||||
security: |
||||
handler: sonata.admin.security.handler.role |
||||
title: Chamilo #%sonata_admin.title% |
||||
title_logo: build/css/themes/chamilo/images/header-logo.png #%sonata_admin.logo_title% |
||||
options: |
||||
html5_validate: false # does not use html5 validation |
||||
pager_links: 5 # pager max links to display |
||||
templates: |
||||
# default global templates |
||||
# the layout template include javascript/stylesheet to the formatter bundle, |
||||
# if you don't need it use the default one: SonataAdminBundle::standard_layout.html. |
||||
layout: '@ChamiloAdmin/layout.html.twig' |
||||
ajax: '@SonataAdmin/ajax_layout.html.twig' |
||||
# default value if done set, actions templates, should extends a global templates |
||||
# list: '@SonataAdmin/CRUD/list.html.twig' |
||||
# filter: '@SonataAdmin/Form/filter_admin_fields.html.twig' |
||||
# show: '@SonataAdmin/CRUD/show.html.twig' |
||||
# edit: '@SonataAdmin/CRUD/edit.html.twig' |
||||
# user_block: ChamiloCoreBundle:Admin:admin_topnav.html.twig |
||||
extensions: |
||||
# cmf_core.admin_extension.translatable: |
||||
# implements: |
||||
# - Symfony\Cmf\Bundle\CoreBundle\Translatable\TranslatableInterface |
||||
# |
||||
# cmf_core.admin_extension.publish_workflow.publishable: |
||||
# implements: |
||||
# - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishableInterface |
||||
# cmf_core.admin_extension.publish_workflow.time_period: |
||||
# implements: |
||||
# - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishTimePeriodInterface |
||||
dashboard: |
||||
blocks: |
||||
- {position: left, type: sonata.admin.block.admin_list} |
||||
# - {position: right, type: sonata.timeline.block.timeline, settings: {context: SONATA_ADMIN, max_per_page: 25, template: 'ChamiloTimelineBundle:Block:timeline.html.twig'}} |
||||
# - {position: right, type: sonata.admin_doctrine_orm.block.audit} |
||||
# - { position: center, type: sonata.block.service.text, settings: { content: "<h2>Welcome!</h2> You can customize this dashboard by editing the sonata_admin.yml file. The current dashboard presents the recent items from the NewsBundle and a timeline with the latest action"} } |
||||
#- { position: center, type: sonata.news.block.recent_posts, settings: { title: Recent Posts, number: 7, mode: admin }} |
||||
# - { position: left, type: sonata.block.service.text, settings: { content: "<div class='panel panel-default'><div class='panel-heading'><h3 class='panel-title'>Welcome!</h3></div><div class='panel-body'>You can customize this dashboard by editing the <code>sonata_admin.yml</code> file. The current dashboard presents the recent items from the NewsBundle and a non-statistical e-commerce information.</div></div>"} } |
||||
# - { position: center, type: sonata.news.block.recent_comments, settings: { title: Recent Comments, number: 7, mode: admin }} |
||||
#- { position: right, type: sonata.order.block.recent_orders, settings: { title: Recent Orders, number: 5, mode: admin }} |
||||
#- { position: right, type: sonata.customer.block.recent_customers, settings: { title: Recent Customers, number: 5, mode: admin }} |
||||
#- { position: right, type: sonata.block.service.rss, settings: { title: Sonata Project's Feeds, url: http://sonata-project.org/blog/archive.rss }} |
||||
|
||||
groups: |
||||
sonata.admin.group.content: |
||||
label: Content |
||||
label_catalogue: SonataDemoBundle |
||||
#icon: '<i class="fa fa-th"></i>' |
||||
items: |
||||
- sonata.page.admin.page |
||||
# - sonata.news.admin.comment |
||||
# - sonata.news.admin.post |
||||
- sonata.media.admin.media |
||||
- sonata.media.admin.gallery |
||||
# - sonata.comment.admin.thread |
||||
|
||||
sonata.admin.group.site_builder: |
||||
label: Site Builder |
||||
label_catalogue: SonataDemoBundle |
||||
#icon: '<i class="fa fa-puzzle-piece"></i>' |
||||
items: |
||||
- sonata.page.admin.page |
||||
- sonata.page.admin.site |
||||
- sonata.admin.contact_category |
||||
|
||||
sonata.admin.group.faq: |
||||
label: FAQ |
||||
label_catalogue: Faq |
||||
#icon: '<i class="fa fa-puzzle-piece"></i>' |
||||
items: |
||||
- sonata.admin.faq_category |
||||
- sonata.admin.faq_question |
||||
|
||||
sonata.admin.group.classification: |
||||
label: sonata_classification |
||||
label_catalogue: SonataClassificationBundle |
||||
#icon: '<i class="fa fa-sitemap"></i>' |
||||
items: |
||||
- sonata.classification.admin.category |
||||
- sonata.classification.admin.tag |
||||
- sonata.classification.admin.collection |
||||
|
||||
sonata.admin.group.administration: |
||||
label: sonata_administration |
||||
label_catalogue: SonataAdminBundle |
||||
#icon: '<i class="fa fa-cogs"></i>' |
||||
items: |
||||
# - sonata.notification.admin.message |
||||
# - sonata.admin.settings_current |
||||
# - sonata.admin.tool |
||||
sonata.admin.group.user: |
||||
label: Users |
||||
#icon: '<i class="fa fa-play-circle"></i>' |
||||
label_catalogue: SonataAdminBundle |
||||
items: |
||||
- sonata.user.admin.user |
||||
- sonata.user.admin.group |
||||
# - sonata.admin.user_group |
||||
# - sonata.admin.user_field |
||||
# - sonata.admin.user_field_values |
||||
# sonata.admin.group.course: |
||||
# label: Courses |
||||
# #icon: '<i class="fa fa-play-circle"></i>' |
||||
# label_catalogue: SonataAdminBundle |
||||
# items: |
||||
# - sonata.admin.course |
||||
# - sonata.admin.course_category |
||||
# - sonata.admin.course_request |
||||
# - sonata.admin.c_group_info |
||||
## - sonata.admin.notebook |
||||
# sonata.admin.group.session: |
||||
# label: Sessions |
||||
# #icon: '<i class="fa fa-play-circle"></i>' |
||||
# label_catalogue: SonataAdminBundle |
||||
# items: |
||||
# - sonata.admin.session |
||||
# - sonata.admin.session_category |
||||
# - sonata.admin.career |
||||
# - sonata.admin.promotion |
||||
# sonata.admin.group.url: |
||||
# label: URLs |
||||
# #icon: '<i class="fa fa-play-circle"></i>' |
||||
# label_catalogue: SonataAdminBundle |
||||
# items: |
||||
# - sonata.admin.access_url |
||||
sonata.admin.resource: |
||||
label: Resource |
||||
label_catalogue: SonataDemoBundle |
||||
#icon: '<i class="fa fa-th"></i>' |
||||
items: |
||||
- sonata.admin.resource_node |
||||
- sonata.admin.resource_link |
||||
- sonata.admin.resource_right |
||||
- sonata.admin.resource_file |
||||
- sonata.admin.resource_type |
||||
- sonata.admin.c_document |
||||
|
||||
assets: |
||||
stylesheets: |
||||
# The default stylesheet list: |
||||
- bundles/sonatacore/vendor/bootstrap/dist/css/bootstrap.min.css |
||||
- bundles/sonatacore/vendor/components-font-awesome/css/font-awesome.min.css |
||||
- bundles/sonatacore/vendor/ionicons/css/ionicons.min.css |
||||
- bundles/sonataadmin/vendor/admin-lte/dist/css/AdminLTE.min.css |
||||
- bundles/sonataadmin/vendor/admin-lte/dist/css/skins/skin-black.min.css |
||||
- bundles/sonataadmin/vendor/iCheck/skins/square/blue.css |
||||
- bundles/sonatacore/vendor/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css |
||||
- bundles/sonataadmin/vendor/jqueryui/themes/base/jquery-ui.css |
||||
- bundles/sonatacore/vendor/select2/select2.css |
||||
- bundles/sonatacore/vendor/select2-bootstrap-css/select2-bootstrap.min.css |
||||
- bundles/sonataadmin/vendor/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css |
||||
- bundles/sonataadmin/css/styles.css |
||||
- bundles/sonataadmin/css/layout.css |
||||
- bundles/sonataadmin/css/tree.css |
||||
- bundles/sonataadmin/css/colors.css |
||||
|
||||
javascripts: |
||||
- 'bundles/sonatacore/vendor/jquery/dist/jquery.min.js' |
||||
- 'bundles/sonataadmin/vendor/jquery.scrollTo/jquery.scrollTo.min.js' |
||||
- 'bundles/sonataadmin/vendor/jqueryui/ui/minified/jquery-ui.min.js' |
||||
- 'bundles/sonataadmin/vendor/jqueryui/ui/minified/i18n/jquery-ui-i18n.min.js' |
||||
- 'bundles/sonatacore/vendor/moment/min/moment.min.js' |
||||
- 'bundles/sonatacore/vendor/bootstrap/dist/js/bootstrap.min.js' |
||||
- 'bundles/sonatacore/vendor/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js' |
||||
- 'bundles/sonataadmin/vendor/jquery-form/jquery.form.js' |
||||
- 'bundles/sonataadmin/jquery/jquery.confirmExit.js' |
||||
- 'bundles/sonataadmin/vendor/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.min.js' |
||||
- 'bundles/sonatacore/vendor/select2/select2.min.js' |
||||
- 'bundles/sonataadmin/vendor/admin-lte/dist/js/app.min.js' |
||||
- 'bundles/sonataadmin/vendor/iCheck/icheck.min.js' |
||||
- 'bundles/sonataadmin/vendor/slimScroll/jquery.slimscroll.min.js' |
||||
- 'bundles/sonataadmin/vendor/waypoints/lib/jquery.waypoints.min.js' |
||||
- 'bundles/sonataadmin/vendor/waypoints/lib/shortcuts/sticky.min.js' |
||||
- 'bundles/sonataadmin/vendor/readmore-js/readmore.min.js' |
||||
- 'bundles/sonataadmin/vendor/masonry/dist/masonry.pkgd.min.js' |
||||
- 'bundles/sonataadmin/Admin.js' |
||||
- 'bundles/sonataadmin/treeview.js' |
||||
- 'bundles/sonataadmin/sidebar.js' |
||||
|
||||
extra_javascripts: |
||||
- bundles/sonatapage/sonata-page.back.min.js |
||||
- libs/ckeditor/ckeditor.js |
||||
- bundles/sonataformatter/vendor/markitup-markitup/markitup/jquery.markitup.js |
||||
- bundles/sonataformatter/markitup/sets/markdown/set.js |
||||
- bundles/sonataformatter/markitup/sets/html/set.js |
||||
- bundles/sonataformatter/markitup/sets/textile/set.js |
||||
|
||||
extra_stylesheets: |
||||
- bundles/sonatapage/sonata-page.back.min.css |
||||
- bundles/sonataformatter/markitup/skins/sonata/style.css |
||||
- bundles/sonataformatter/markitup/sets/markdown/style.css |
||||
- bundles/sonataformatter/markitup/sets/html/style.css |
||||
- bundles/sonataformatter/markitup/sets/textile/style.css |
@ -1,72 +1,72 @@ |
||||
sonata_block: |
||||
context_manager: sonata.page.block.context_manager |
||||
default_contexts: [sonata_page_bundle] |
||||
http_cache: |
||||
listener: true |
||||
# menus: |
||||
# "ChamiloCoreBundle:MainMenuBuilder:mainMenu": "Main Menu" |
||||
# #"SonataDemoBundle:Builder:mainMenu": "Main Menu" |
||||
|
||||
blocks: |
||||
# Chamilo blocks |
||||
chamilo_core.block.breadcrumb: ~ |
||||
chamilo_core.block.course: ~ |
||||
chamilo_core.block.skill: ~ |
||||
sonata.admin.block.stats: |
||||
contexts: [admin] |
||||
sonata.admin.block.admin_list: |
||||
contexts: [admin] |
||||
sonata.admin.block.search_result: |
||||
contexts: [admin] |
||||
sonata.admin_doctrine_orm.block.audit: |
||||
contexts: [admin] |
||||
|
||||
# Builtin Block |
||||
sonata.block.service.text: |
||||
sonata.block.service.container: |
||||
sonata.block.service.rss: |
||||
sonata.block.service.menu: |
||||
sonata.block.service.template: |
||||
# PageBundle's Blocks |
||||
sonata.page.block.container: |
||||
# cache: sonata.cache.memcached |
||||
# cache: sonata.cache.predis |
||||
# cache: sonata.page.cache.esi # if you are using the PageBundle |
||||
# cache: sonata.block.cache.esi # if you are using the BlockBundle without the PageBundle |
||||
sonata.page.block.children_pages: |
||||
sonata.page.block.breadcrumb: |
||||
# MediaBundle's Blocks |
||||
sonata.media.block.media: |
||||
sonata.media.block.gallery: |
||||
sonata.media.block.feature_media: |
||||
# NewsBundle's Blocks |
||||
sonata.news.block.recent_comments: |
||||
sonata.news.block.recent_posts: |
||||
|
||||
# TimelineBundle's Blocks |
||||
sonata.timeline.block.timeline: |
||||
contexts: [admin] |
||||
# UserBundle's Blocks |
||||
sonata.user.block.account: |
||||
cache: sonata.page.cache.js_async |
||||
#cache: sonata.page.cache.esi |
||||
contexts: [user] |
||||
sonata.user.block.menu: |
||||
contexts: [user] |
||||
# SeoBundle's Blocks |
||||
sonata.seo.block.social.container: |
||||
sonata.seo.block.email.share_button: |
||||
sonata.seo.block.facebook.like_box: |
||||
sonata.seo.block.facebook.like_button: |
||||
sonata.seo.block.facebook.send_button: |
||||
sonata.seo.block.facebook.share_button: |
||||
sonata.seo.block.pinterest.pin_button: |
||||
sonata.seo.block.twitter.share_button: |
||||
sonata.seo.block.twitter.follow_button: |
||||
sonata.seo.block.twitter.hashtag_button: |
||||
sonata.seo.block.twitter.mention_button: |
||||
sonata.seo.block.twitter.embed: |
||||
|
||||
# Formatter |
||||
sonata.formatter.block.formatter: |
||||
sonata.seo.block.breadcrumb.homepage: |
||||
#sonata_block: |
||||
# context_manager: sonata.page.block.context_manager |
||||
# default_contexts: [sonata_page_bundle] |
||||
# http_cache: |
||||
# listener: true |
||||
## menus: |
||||
## "ChamiloCoreBundle:MainMenuBuilder:mainMenu": "Main Menu" |
||||
## #"SonataDemoBundle:Builder:mainMenu": "Main Menu" |
||||
# |
||||
# blocks: |
||||
# # Chamilo blocks |
||||
# chamilo_core.block.breadcrumb: ~ |
||||
# chamilo_core.block.course: ~ |
||||
# chamilo_core.block.skill: ~ |
||||
# sonata.admin.block.stats: |
||||
# contexts: [admin] |
||||
# sonata.admin.block.admin_list: |
||||
# contexts: [admin] |
||||
# sonata.admin.block.search_result: |
||||
# contexts: [admin] |
||||
# sonata.admin_doctrine_orm.block.audit: |
||||
# contexts: [admin] |
||||
# |
||||
# # Builtin Block |
||||
# sonata.block.service.text: |
||||
# sonata.block.service.container: |
||||
# sonata.block.service.rss: |
||||
# sonata.block.service.menu: |
||||
# sonata.block.service.template: |
||||
# # PageBundle's Blocks |
||||
# sonata.page.block.container: |
||||
# # cache: sonata.cache.memcached |
||||
# # cache: sonata.cache.predis |
||||
# # cache: sonata.page.cache.esi # if you are using the PageBundle |
||||
# # cache: sonata.block.cache.esi # if you are using the BlockBundle without the PageBundle |
||||
# sonata.page.block.children_pages: |
||||
# sonata.page.block.breadcrumb: |
||||
# # MediaBundle's Blocks |
||||
# sonata.media.block.media: |
||||
# sonata.media.block.gallery: |
||||
# sonata.media.block.feature_media: |
||||
# # NewsBundle's Blocks |
||||
# sonata.news.block.recent_comments: |
||||
# sonata.news.block.recent_posts: |
||||
# |
||||
# # TimelineBundle's Blocks |
||||
# sonata.timeline.block.timeline: |
||||
# contexts: [admin] |
||||
# # UserBundle's Blocks |
||||
# sonata.user.block.account: |
||||
# cache: sonata.page.cache.js_async |
||||
# #cache: sonata.page.cache.esi |
||||
# contexts: [user] |
||||
# sonata.user.block.menu: |
||||
# contexts: [user] |
||||
# # SeoBundle's Blocks |
||||
# sonata.seo.block.social.container: |
||||
# sonata.seo.block.email.share_button: |
||||
# sonata.seo.block.facebook.like_box: |
||||
# sonata.seo.block.facebook.like_button: |
||||
# sonata.seo.block.facebook.send_button: |
||||
# sonata.seo.block.facebook.share_button: |
||||
# sonata.seo.block.pinterest.pin_button: |
||||
# sonata.seo.block.twitter.share_button: |
||||
# sonata.seo.block.twitter.follow_button: |
||||
# sonata.seo.block.twitter.hashtag_button: |
||||
# sonata.seo.block.twitter.mention_button: |
||||
# sonata.seo.block.twitter.embed: |
||||
# |
||||
# # Formatter |
||||
# sonata.formatter.block.formatter: |
||||
# sonata.seo.block.breadcrumb.homepage: |
||||
|
@ -1,7 +0,0 @@ |
||||
sonata_classification: |
||||
class: |
||||
tag: Chamilo\ClassificationBundle\Entity\Tag |
||||
category: Chamilo\ClassificationBundle\Entity\Category |
||||
context: Chamilo\ClassificationBundle\Entity\Context |
||||
collection: Chamilo\ClassificationBundle\Entity\Collection |
||||
media: Chamilo\MediaBundle\Entity\Media |
@ -1,27 +0,0 @@ |
||||
sonata_core: |
||||
form_type: horizontal |
||||
flashmessage: |
||||
success: |
||||
types: |
||||
- {type: my_custom_bundle_success} |
||||
- {type: my_other_bundle_success} |
||||
warning: |
||||
types: |
||||
- {type: my_custom_bundle_warning} |
||||
- {type: my_other_bundle_warning} |
||||
error: |
||||
css_class: danger # optionally, a CSS class can be defined |
||||
types: |
||||
- {type: my_custom_bundle} |
||||
confirmation: # You can add custom types too |
||||
types: |
||||
- {type: custom_bundle_type} |
||||
confirm: # You can add custom types too |
||||
types: |
||||
- {type: custom_bundle_type} |
||||
normal: |
||||
types: |
||||
- {type: custom_bundle_type} |
||||
no_layout: # You can add custom types too |
||||
types: |
||||
- {type: custom_bundle_type} |
@ -1,35 +1,35 @@ |
||||
sonata_formatter: |
||||
default_formatter: text |
||||
formatters: |
||||
markdown: |
||||
service: sonata.formatter.text.markdown |
||||
extensions: |
||||
- sonata.formatter.twig.control_flow |
||||
- sonata.formatter.twig.gist |
||||
- sonata.media.formatter.twig |
||||
text: |
||||
service: sonata.formatter.text.text |
||||
extensions: |
||||
- sonata.formatter.twig.control_flow |
||||
- sonata.formatter.twig.gist |
||||
- sonata.media.formatter.twig |
||||
rawhtml: |
||||
service: sonata.formatter.text.raw |
||||
extensions: |
||||
- sonata.formatter.twig.control_flow |
||||
- sonata.formatter.twig.gist |
||||
- sonata.media.formatter.twig |
||||
richhtml: |
||||
service: sonata.formatter.text.raw |
||||
extensions: |
||||
- sonata.formatter.twig.control_flow |
||||
- sonata.formatter.twig.gist |
||||
- sonata.media.formatter.twig |
||||
twig: |
||||
service: sonata.formatter.text.twigengine |
||||
extensions: [] # Twig formatter cannot have extensions |
||||
|
||||
ckeditor: |
||||
templates: |
||||
browser: '@SonataFormatter/Ckeditor/browser.html.twig' |
||||
upload: '@SonataFormatter/Ckeditor/upload.html.twig' |
||||
#sonata_formatter: |
||||
# default_formatter: text |
||||
# formatters: |
||||
# markdown: |
||||
# service: sonata.formatter.text.markdown |
||||
# extensions: |
||||
# - sonata.formatter.twig.control_flow |
||||
# - sonata.formatter.twig.gist |
||||
# - sonata.media.formatter.twig |
||||
# text: |
||||
# service: sonata.formatter.text.text |
||||
# extensions: |
||||
# - sonata.formatter.twig.control_flow |
||||
# - sonata.formatter.twig.gist |
||||
# - sonata.media.formatter.twig |
||||
# rawhtml: |
||||
# service: sonata.formatter.text.raw |
||||
# extensions: |
||||
# - sonata.formatter.twig.control_flow |
||||
# - sonata.formatter.twig.gist |
||||
# - sonata.media.formatter.twig |
||||
# richhtml: |
||||
# service: sonata.formatter.text.raw |
||||
# extensions: |
||||
# - sonata.formatter.twig.control_flow |
||||
# - sonata.formatter.twig.gist |
||||
# - sonata.media.formatter.twig |
||||
# twig: |
||||
# service: sonata.formatter.text.twigengine |
||||
# extensions: [] # Twig formatter cannot have extensions |
||||
# |
||||
# ckeditor: |
||||
# templates: |
||||
# browser: '@SonataFormatter/Ckeditor/browser.html.twig' |
||||
# upload: '@SonataFormatter/Ckeditor/upload.html.twig' |
||||
|
@ -1,78 +0,0 @@ |
||||
sonata_media: |
||||
class: |
||||
media: Chamilo\MediaBundle\Entity\Media |
||||
gallery: Chamilo\MediaBundle\Entity\Gallery |
||||
gallery_has_media: Chamilo\MediaBundle\Entity\GalleryHasMedia |
||||
category: Chamilo\ClassificationBundle\Entity\Category |
||||
db_driver: doctrine_orm |
||||
default_context: default |
||||
contexts: |
||||
default: # the default context is mandatory |
||||
download: |
||||
strategy: sonata.media.security.superadmin_strategy |
||||
mode: http # X-Sendfile | http |
||||
providers: |
||||
- sonata.media.provider.dailymotion |
||||
- sonata.media.provider.youtube |
||||
- sonata.media.provider.image |
||||
- sonata.media.provider.file |
||||
- sonata.media.provider.vimeo |
||||
formats: |
||||
small: {width: 100, quality: 100} |
||||
medium: {width: 300, quality: 100} |
||||
big: {width: 970, quality: 100} |
||||
# sonata_collection: |
||||
# providers: |
||||
# - sonata.media.provider.image |
||||
# formats: |
||||
# preview: {width: 100, quality: 100} |
||||
# wide: {width: 820, quality: 100} |
||||
# sonata_category: |
||||
# providers: |
||||
# - sonata.media.provider.image |
||||
# formats: |
||||
# preview: {width: 100, quality: 100} |
||||
# wide: {width: 820, quality: 100} |
||||
# user: |
||||
# providers: |
||||
# - sonata.media.provider.image |
||||
# formats: |
||||
# small: {width: 100, quality: 100} |
||||
# big: {width: 970, quality: 100} |
||||
cdn: |
||||
# define the public base url for the uploaded media |
||||
server: |
||||
path: '%sonata_media.cdn.host%' |
||||
filesystem: |
||||
# define where the uploaded file will be stored |
||||
local: |
||||
directory: '%kernel.root_dir%/../var/upload/resource' |
||||
create: true |
||||
providers: |
||||
file: |
||||
# the resizer must be set to false, otherwhise this can delete icon files from the fs |
||||
resizer: false |
||||
image: |
||||
# resizer: sonata.media.resizer.square |
||||
# thumbnail: sonata.media.thumbnail.format # default value |
||||
# thumbnail: sonata.media.thumbnail.consumer.format # can be used to dispatch the resize action to async task |
||||
thumbnail: sonata.media.thumbnail.liip_imagine # use the LiipImagineBundle to resize the image |
||||
vimeo: |
||||
thumbnail: sonata.media.thumbnail.format # default value |
||||
# thumbnail: sonata.media.thumbnail.consumer.format # can be used to dispatch the resize action to async task |
||||
# thumbnail: sonata.media.thumbnail.liip_imagine # use the LiipImagineBundle to resize the image |
||||
youtube: |
||||
thumbnail: sonata.media.thumbnail.format # default value |
||||
# thumbnail: sonata.media.thumbnail.consumer.format # can be used to dispatch the resize action to async task |
||||
# thumbnail: sonata.media.thumbnail.liip_imagine # use the LiipImagineBundle to resize the image |
||||
dailymotion: |
||||
thumbnail: sonata.media.thumbnail.format # default value |
||||
# thumbnail: sonata.media.thumbnail.consumer.format # can be used to dispatch the resize action to async task |
||||
# thumbnail: sonata.media.thumbnail.liip_imagine # use the LiipImagineBundle to resize the image |
||||
# pixlr: |
||||
# enabled: true |
||||
# referrer: App |
||||
resizer: |
||||
simple: |
||||
# mode: outbound |
||||
mode: inset |
@ -1,7 +0,0 @@ |
||||
sonata_notification: |
||||
class: |
||||
message: Chamilo\NotificationBundle\Entity\Message |
||||
consumers: |
||||
register_default: false |
||||
admin: |
||||
enabled: false |
@ -1,165 +0,0 @@ |
||||
# more information can be found here http://sonata-project.org/bundles/page |
||||
sonata_page: |
||||
slugify_service: sonata.core.slugify.cocur |
||||
multisite: host_with_path_by_locale # host |
||||
use_streamed_response: false # set the value to false in debug mode or if the reverse proxy does not handle streamed response |
||||
|
||||
class: |
||||
page: Chamilo\PageBundle\Entity\Page |
||||
site: Chamilo\PageBundle\Entity\Site |
||||
block: Chamilo\PageBundle\Entity\Block |
||||
snapshot: Chamilo\PageBundle\Entity\Snapshot |
||||
|
||||
ignore_uri_patterns: |
||||
- ^/administration(.*) # sonata admin |
||||
- /(.*)/(.*)administration(.*)/ |
||||
- ^/account(.*) # sonata admin |
||||
- ^/admin(.*) # chamilo admin |
||||
- ^/api/(.*) |
||||
- ^/contact(.*) # sonata admin |
||||
- ^/course/(.*) |
||||
- ^/connect/(.*) |
||||
- ^/editor/(.*) |
||||
- ^/login/(.*) |
||||
- ^/error |
||||
- ^/packages/(.*) |
||||
- ^/package/(.*) |
||||
- ^/bundles/(.*) |
||||
- ^/_wdt/(.*) |
||||
- ^/_profiler/(.*) |
||||
- ^/userportal |
||||
- ^/userportal/(.*) |
||||
- ^/internal_page/(.*) |
||||
- ^/js/(.*) |
||||
- ^/faq/(.*) |
||||
- ^/faq |
||||
- ^/news |
||||
- ^/user/(.*) |
||||
- ^/online |
||||
- ^/online/(.*) |
||||
- ^/news/(.*) |
||||
- ^/resources/(.*) |
||||
- ^/sessions/(.*) |
||||
- ^/front/editor |
||||
- ^/cms/pages/latest |
||||
- ^/cms/pages/latest/(.*) |
||||
ignore_route_patterns: |
||||
- (.*)administration(.*) # ignore admin route, ie route containing 'admin' # sonata admin |
||||
- ^_(.*) # ignore symfony routes |
||||
- fos_user(.*) |
||||
- sylius_flow(.*) |
||||
ignore_routes: |
||||
- home |
||||
- internal_page |
||||
- elfinder |
||||
- login |
||||
- logout |
||||
- fos_js_routing_js |
||||
- _settings |
||||
- main |
||||
- sonata_page_cache_esi |
||||
- sonata_page_cache_ssi |
||||
- sonata_page_js_sync_cache |
||||
- sonata_page_js_async_cache |
||||
- sonata_cache_esi |
||||
- sonata_cache_ssi |
||||
- sonata_cache_js_async |
||||
- sonata_cache_js_sync |
||||
- sonata_cache_apc |
||||
- chamilo_installer_flow |
||||
- sylius_flow_start |
||||
- sylius_flow_display |
||||
- sylius_flow_forward |
||||
- chamilo_core_user_user_mycourses |
||||
- chamilo_page_page_getlatestpages |
||||
cache_invalidation: |
||||
service: sonata.page.cache.invalidation.simple |
||||
recorder: sonata.page.cache.recorder |
||||
# classes: |
||||
# "Chamilo\PageBundle\Entity\Block": getId |
||||
assets: |
||||
stylesheets: |
||||
- assetic/sonata_front_css.css |
||||
|
||||
javascripts: |
||||
- assetic/sonata_front_js.js |
||||
page_defaults: |
||||
homepage: {decorate: false, enabled: true} |
||||
default_template: default |
||||
templates: |
||||
default: |
||||
path: 'ChamiloPageBundle::1column_layout.html.twig' |
||||
name: 'default' |
||||
containers: |
||||
header: |
||||
name: Header |
||||
content_top: |
||||
name: Top content |
||||
content: |
||||
name: Main content |
||||
content_bottom: |
||||
name: Bottom content |
||||
footer: |
||||
name: Footer |
||||
matrix: |
||||
layout: | |
||||
HHHHHHHH |
||||
TTTTTTTT |
||||
CCCCCCCC |
||||
BBBBBBBB |
||||
FFFFFFFF |
||||
mapping: |
||||
H: header |
||||
T: content_top |
||||
C: content |
||||
B: content_bottom |
||||
F: footer |
||||
2columns: |
||||
path: 'ChamiloPageBundle::2columns_layout.html.twig' |
||||
name: '2 columns layout' |
||||
containers: |
||||
header: |
||||
name: Header |
||||
content_top: |
||||
name: Top content |
||||
left_col: |
||||
name: Left content |
||||
right_col: |
||||
name: Right content |
||||
content_bottom: |
||||
name: Bottom content |
||||
footer: |
||||
name: Footer |
||||
matrix: |
||||
layout: | |
||||
HHHHHHHH |
||||
TTTTTTTT |
||||
LLLLRRRR |
||||
BBBBBBBB |
||||
FFFFFFFF |
||||
mapping: |
||||
H: header |
||||
T: content_top |
||||
L: left_col |
||||
R: right_col |
||||
B: content_bottom |
||||
F: footer |
||||
caches: |
||||
esi: |
||||
token: add an unique token here # default is a random value |
||||
version: 3 # version 3 is the default on debian wheezy ... |
||||
servers: |
||||
- '%sonata_page.varnish.command%' # you need to adapt this line to work with your configuration |
||||
ssi: |
||||
token: add an unique token here # default is a random value |
||||
catch_exceptions: |
||||
not_found: [404] # render 404 page with "not_found" key (name generated: _page_internal_error_{key}) |
||||
fatal: [500] # so you can use the same page for different http errors or specify specific page for each error |
||||
# Enable Doctrine to map the provided entities |
||||
doctrine: |
||||
orm: |
||||
entity_managers: |
||||
default: |
||||
mappings: |
||||
ChamiloPageBundle: ~ |
||||
SonataPageBundle: ~ |
@ -1,42 +0,0 @@ |
||||
sonata_seo: |
||||
encoding: UTF-8 |
||||
page: |
||||
default: sonata.seo.page.default |
||||
title: Chamilo |
||||
metas: |
||||
name: |
||||
keywords: 'chamilo e-learning' |
||||
description: 'chamilo e-learning' |
||||
robots: index, follow |
||||
viewport: width=device-width,initial-scale=1 |
||||
apple-mobile-web-app-capable: yes |
||||
author: chamilo |
||||
Generator: Chamilo 2 |
||||
property: |
||||
# Facebook application settings |
||||
#'fb:app_id': XXXXXX |
||||
#'fb:admins': admin1, admin2 |
||||
|
||||
# Open Graph information |
||||
# see http://developers.facebook.com/docs/opengraphprotocol/#types or http://ogp.me/ |
||||
# 'og:site_name': %sonata_admin.title% |
||||
# 'og:description': %sonata_admin.title% |
||||
http-equiv: |
||||
# 'Content-Type': text/html; charset=utf-8 |
||||
#'X-Ua-Compatible': IE=EmulateIE7 |
||||
head: |
||||
'xmlns': http://www.w3.org/1999/xhtml |
||||
# sitemap: |
||||
# services: |
||||
# - sonata.product.seo_iterator |
||||
# doctrine_orm: |
||||
# # media |
||||
# - { connection: doctrine.dbal.default_connection, route: sonata_media_view, parameters: {id: null}, query: "SELECT id, updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM media__media WHERE enabled = true" } |
||||
# # blog post |
||||
# - { connection: doctrine.dbal.default_connection, route: sonata_news_view, parameters: {permalink: null}, query: "SELECT CONCAT_WS('/', YEAR(created_at), MONTH(created_at), DAY(created_at), slug) as permalink , updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM news__post WHERE enabled = 1 AND (publication_date_start IS NULL OR publication_date_start <= NOW())" } |
||||
# # page - works only for one site, please adapt the code if required |
||||
# - { connection: doctrine.dbal.default_connection, route: page_slug, parameters: {path: null}, query: "SELECT url as path, updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM page__snapshot WHERE route_name = 'page_slug' AND enabled = 1 AND (publication_date_start IS NULL OR publication_date_start <= NOW())" } |
||||
# # product categories |
||||
# - { connection: doctrine.dbal.default_connection, route: sonata_catalog_category, parameters: {category_id: null, category_slug: null}, query: "SELECT id as category_id, slug as category_slug, updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM classification__category WHERE enabled = true" } |
||||
# # products |
||||
# - { connection: doctrine.dbal.default_connection, route: sonata_product_view, parameters: {productId: null, slug: null}, query: "SELECT id as productId, slug, updated_at as lastmod, 'weekly' as changefreq, '0.5' as prioriy FROM product__product WHERE enabled = true" } |
@ -1,7 +1,7 @@ |
||||
sonata_timeline: |
||||
manager_type: orm |
||||
class: |
||||
timeline: '%spy_timeline.class.timeline%' |
||||
action: '%spy_timeline.class.action%' |
||||
component: '%spy_timeline.class.component%' |
||||
action_component: '%spy_timeline.class.action_component%' |
||||
#sonata_timeline: |
||||
# manager_type: orm |
||||
# class: |
||||
# timeline: '%spy_timeline.class.timeline%' |
||||
# action: '%spy_timeline.class.action%' |
||||
# component: '%spy_timeline.class.component%' |
||||
# action_component: '%spy_timeline.class.action_component%' |
||||
|
@ -1,44 +0,0 @@ |
||||
# if you change the class configuration, please also alter the fos_user.yml file |
||||
sonata_user: |
||||
admin: |
||||
user: |
||||
class: Chamilo\UserBundle\Admin\UserAdmin |
||||
group: |
||||
class: Chamilo\UserBundle\Admin\GroupAdmin |
||||
class: |
||||
# Entity Classes |
||||
user: Chamilo\UserBundle\Entity\User |
||||
group: Chamilo\UserBundle\Entity\Group |
||||
security_acl: false |
||||
table: |
||||
user_group: fos_user_user_group |
||||
impersonating: |
||||
route: page_slug |
||||
parameters: {path: /} |
||||
# google_authenticator: |
||||
# server: %sonata_user.google_authenticator.server% |
||||
# enabled: true |
||||
manager_type: orm |
||||
profile: |
||||
# dashboard: |
||||
# blocks: |
||||
# - { position: left, type: sonata.block.service.text, settings: { content: "<h2>Welcome!</h2> <p>This is a sample user profile dashboard, feel free to override it in the configuration! Want to make this text dynamic? For instance display the user's name? Create a dedicated block and edit the configuration!</p>"} } |
||||
# |
||||
# menu: |
||||
# - { route: 'sonata_user_profile_show', label: 'sonata_profile_title', domain: 'SonataUserBundle'} |
||||
# - { route: 'sonata_user_profile_edit', label: 'link_edit_profile', domain: 'SonataUserBundle'} |
||||
# |
||||
# form: |
||||
# type: sonata_user_registration |
||||
# handler: sonata.user.profile.form.handler.default |
||||
# name: sonata_user_registration_form |
||||
# validation_groups: |
||||
# - Profile |
||||
# register: |
||||
# form: |
||||
# type: chamilo_sonata_user_registration |
||||
# handler: sonata.user.registration.form.handler.default |
||||
# name: chamilo_sonata_user_registration |
||||
# validation_groups: |
||||
# - Registration |
||||
# - Default |
@ -1,17 +1,17 @@ |
||||
spy_timeline: |
||||
drivers: |
||||
orm: |
||||
object_manager: doctrine.orm.entity_manager |
||||
classes: |
||||
query_builder: ~ # Spy\TimelineBundle\Driver\ORM\QueryBuilder\QueryBuilder |
||||
timeline: Chamilo\TimelineBundle\Entity\Timeline |
||||
action: Chamilo\TimelineBundle\Entity\Action |
||||
component: Chamilo\TimelineBundle\Entity\Component |
||||
action_component: Chamilo\TimelineBundle\Entity\ActionComponent |
||||
filters: |
||||
data_hydrator: |
||||
priority: 20 |
||||
service: spy_timeline.filter.data_hydrator |
||||
filter_unresolved: false |
||||
locators: |
||||
- spy_timeline.filter.data_hydrator.locator.doctrine_orm |
||||
#spy_timeline: |
||||
# drivers: |
||||
# orm: |
||||
# object_manager: doctrine.orm.entity_manager |
||||
# classes: |
||||
# query_builder: ~ # Spy\TimelineBundle\Driver\ORM\QueryBuilder\QueryBuilder |
||||
# timeline: Chamilo\TimelineBundle\Entity\Timeline |
||||
# action: Chamilo\TimelineBundle\Entity\Action |
||||
# component: Chamilo\TimelineBundle\Entity\Component |
||||
# action_component: Chamilo\TimelineBundle\Entity\ActionComponent |
||||
# filters: |
||||
# data_hydrator: |
||||
# priority: 20 |
||||
# service: spy_timeline.filter.data_hydrator |
||||
# filter_unresolved: false |
||||
# locators: |
||||
# - spy_timeline.filter.data_hydrator.locator.doctrine_orm |
||||
|
@ -1,3 +1,8 @@ |
||||
framework: |
||||
validation: |
||||
email_validation_mode: html5 |
||||
|
||||
# Enables validator auto-mapping support. |
||||
#framework: |
||||
# validation: |
||||
# email_validation_mode: html5 |
||||
|
@ -1,4 +1,4 @@ |
||||
# Controllers |
||||
controllers: |
||||
resource: '../../src/UserBundle/Controller/' |
||||
resource: '../../src/CoreBundle/Controller/' |
||||
type: annotation |
||||
|
@ -1,33 +0,0 @@ |
||||
chamilo_course: |
||||
resource: "@ChamiloCourseBundle/Resources/config/routing.yml" |
||||
prefix: / |
||||
options: |
||||
expose: true |
||||
|
||||
chamilo_contact: |
||||
resource: "@ChamiloContactBundle/Resources/config/routing.yml" |
||||
prefix: /contact |
||||
|
||||
chamilo_user: |
||||
resource: "@ChamiloUserBundle/Resources/config/routing.yml" |
||||
prefix: / |
||||
options: |
||||
expose: true |
||||
|
||||
# Always at the end |
||||
chamilo_core: |
||||
resource: "@ChamiloCoreBundle/Resources/config/routing.yml" |
||||
options: |
||||
expose: true |
||||
|
||||
chamilo_page: |
||||
resource: "@ChamiloPageBundle/Resources/config/routing.yml" |
||||
|
||||
chamilo_faq: |
||||
resource: "@ChamiloFaqBundle/Resources/config/routing.yml" |
||||
|
||||
chamilo_graphql: |
||||
resource: "@ChamiloGraphQlBundle/Resources/config/routing.yaml" |
||||
|
||||
chamilo_lti: |
||||
resource: "@ChamiloLtiBundle/Resources/config/routing.yml" |
@ -1,17 +0,0 @@ |
||||
admin_area: |
||||
resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml' |
||||
|
||||
_sonata_admin: |
||||
resource: . |
||||
type: sonata_admin |
||||
|
||||
sonata_user_admin_security: |
||||
resource: '@SonataUserBundle/Resources/config/routing/admin_security.xml' |
||||
|
||||
sonata_user_admin_resetting: |
||||
resource: '@SonataUserBundle/Resources/config/routing/admin_resetting.xml' |
||||
prefix: /resetting |
||||
|
||||
sonata_media_pixlr: |
||||
resource: '@SonataMediaBundle/Resources/config/routing/pixlr.xml' |
||||
prefix: /media |
@ -1,7 +0,0 @@ |
||||
sonata_media_gallery: |
||||
resource: '@SonataMediaBundle/Resources/config/routing/gallery.xml' |
||||
prefix: /media/gallery |
||||
|
||||
sonata_media: |
||||
resource: '@SonataMediaBundle/Resources/config/routing/media.xml' |
||||
prefix: /resource |
@ -1,11 +0,0 @@ |
||||
#sonata_page_api: |
||||
# resource: '@SonataPageBundle/Resources/config/routing/api.xml' |
||||
# prefix: / |
||||
|
||||
#sonata_page_cache: |
||||
# resource: '@SonataPageBundle/Resources/config/routing/cache.xml' |
||||
# prefix: / |
||||
|
||||
sonata_page_exceptions: |
||||
resource: '@SonataPageBundle/Resources/config/routing/exceptions.xml' |
||||
prefix: / |
Loading…
Reference in new issue