sonata_block.yml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. sonata_block:
  2. context_manager: sonata.page.block.context_manager
  3. default_contexts: [sonata_page_bundle]
  4. http_cache:
  5. listener: true
  6. # menus:
  7. # "ChamiloCoreBundle:MainMenuBuilder:mainMenu": "Main Menu"
  8. # #"SonataDemoBundle:Builder:mainMenu": "Main Menu"
  9. blocks:
  10. # Chamilo blocks
  11. chamilo_core.block.breadcrumb: ~
  12. chamilo_core.block.course: ~
  13. chamilo_core.block.skill: ~
  14. sonata.admin.block.stats:
  15. contexts: [admin]
  16. sonata.admin.block.admin_list:
  17. contexts: [admin]
  18. sonata.admin.block.search_result:
  19. contexts: [admin]
  20. sonata.admin_doctrine_orm.block.audit:
  21. contexts: [admin]
  22. # Builtin Block
  23. sonata.block.service.text:
  24. sonata.block.service.container:
  25. sonata.block.service.rss:
  26. sonata.block.service.menu:
  27. sonata.block.service.template:
  28. # PageBundle's Blocks
  29. sonata.page.block.container:
  30. # cache: sonata.cache.memcached
  31. # cache: sonata.cache.predis
  32. # cache: sonata.page.cache.esi # if you are using the PageBundle
  33. # cache: sonata.block.cache.esi # if you are using the BlockBundle without the PageBundle
  34. sonata.page.block.children_pages:
  35. sonata.page.block.breadcrumb:
  36. # MediaBundle's Blocks
  37. sonata.media.block.media:
  38. sonata.media.block.gallery:
  39. sonata.media.block.feature_media:
  40. # NewsBundle's Blocks
  41. sonata.news.block.recent_comments:
  42. sonata.news.block.recent_posts:
  43. # TimelineBundle's Blocks
  44. sonata.timeline.block.timeline:
  45. # UserBundle's Blocks
  46. sonata.user.block.account:
  47. cache: sonata.page.cache.js_async
  48. #cache: sonata.page.cache.esi
  49. contexts: [user]
  50. sonata.user.block.menu:
  51. contexts: [user]
  52. # SeoBundle's Blocks
  53. sonata.seo.block.social.container:
  54. sonata.seo.block.email.share_button:
  55. sonata.seo.block.facebook.like_box:
  56. sonata.seo.block.facebook.like_button:
  57. sonata.seo.block.facebook.send_button:
  58. sonata.seo.block.facebook.share_button:
  59. sonata.seo.block.pinterest.pin_button:
  60. sonata.seo.block.twitter.share_button:
  61. sonata.seo.block.twitter.follow_button:
  62. sonata.seo.block.twitter.hashtag_button:
  63. sonata.seo.block.twitter.mention_button:
  64. sonata.seo.block.twitter.embed:
  65. # Formatter
  66. sonata.formatter.block.formatter:
  67. sonata.seo.block.breadcrumb.homepage: