mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-23 17:17:43 +00:00
ref #12 In a template, you can now allow rendering of a block from other bundle. The layout template must explicitly call the rendering of other block, with the twig function ``` chill_delegated_block('block_name', { 'array' : 'with context' } ) ``` This will launch an event `Chill\MainBundle\Templating\Events\DelegatedBlockRenderingEvent` with the event's name 'chill_block.block_name'. You may add content to the page using the function `DelegatedBlockRenderingEvent::addContent`.
ChillMain
An app for social-profit organisations
Documentation & installation
Read documentation here : http://chill.readthedocs.org
Languages
PHP
77.8%
Twig
10.1%
Vue
7.3%
JavaScript
2.9%
TypeScript
1.1%
Other
0.8%