sonata_block.yml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. contexts: [admin]
  46. # UserBundle's Blocks
  47. sonata.user.block.account:
  48. cache: sonata.page.cache.js_async
  49. #cache: sonata.page.cache.esi
  50. contexts: [user]
  51. sonata.user.block.menu:
  52. contexts: [user]
  53. # SeoBundle's Blocks
  54. sonata.seo.block.social.container:
  55. sonata.seo.block.email.share_button:
  56. sonata.seo.block.facebook.like_box:
  57. sonata.seo.block.facebook.like_button:
  58. sonata.seo.block.facebook.send_button:
  59. sonata.seo.block.facebook.share_button:
  60. sonata.seo.block.pinterest.pin_button:
  61. sonata.seo.block.twitter.share_button:
  62. sonata.seo.block.twitter.follow_button:
  63. sonata.seo.block.twitter.hashtag_button:
  64. sonata.seo.block.twitter.mention_button:
  65. sonata.seo.block.twitter.embed:
  66. # Formatter
  67. sonata.formatter.block.formatter:
  68. sonata.seo.block.breadcrumb.homepage: