sonata_block.yml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. sonata_block:
  2. context_manager: sonata.page.block.context_manager
  3. default_contexts: [cms, 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. sonata.admin.block.admin_list:
  11. contexts: [admin]
  12. sonata.timeline.block.timeline:
  13. contexts: [admin]
  14. sonata.admin.block.search_result:
  15. contexts: [admin]
  16. #sonata.admin_doctrine_orm.block.audit:
  17. # contexts: [admin]
  18. # Chamilo blocks
  19. chamilo.corebundle.block.course:
  20. chamilo.corebundle.block.breadcrumb:
  21. chamilo.corebundle.block.main_menu:
  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. sonata.timeline.block.timeline:
  46. contexts: [admin]
  47. # UserBundle's Blocks
  48. sonata.user.block.account:
  49. cache: sonata.page.cache.js_async
  50. #cache: sonata.page.cache.esi
  51. contexts: [user]
  52. sonata.user.block.menu:
  53. contexts: [user]
  54. # SeoBundle's Blocks
  55. sonata.seo.block.social.container:
  56. sonata.seo.block.email.share_button:
  57. sonata.seo.block.facebook.like_box:
  58. sonata.seo.block.facebook.like_button:
  59. sonata.seo.block.facebook.send_button:
  60. sonata.seo.block.facebook.share_button:
  61. sonata.seo.block.pinterest.pin_button:
  62. sonata.seo.block.twitter.share_button:
  63. sonata.seo.block.twitter.follow_button:
  64. sonata.seo.block.twitter.hashtag_button:
  65. sonata.seo.block.twitter.mention_button:
  66. sonata.seo.block.twitter.embed:
  67. sonata.demo.block.newsletter:
  68. # Formatter
  69. sonata.formatter.block.formatter:
  70. sonata.seo.block.breadcrumb.homepage: