22 Commits

Author SHA1 Message Date
7d9de642ff rename syntax for ChillMain twig template calls 2020-07-30 14:25:28 +02:00
ced9d17d03 sf4 resolve errors and depreciations 2020-07-30 13:53:15 +02:00
de177e5764 fix sf4 deprecated using get() method for private container 2020-07-16 16:16:21 +02:00
62403f7b53 Merge branch 'stable' 2020-04-21 13:31:07 +02:00
d5e9747e80 [chill entity render] fix usage of default entity rendering 2020-03-26 13:13:50 +01:00
2aa9188fbc do not throw an exception when null element are passed to chill_entity_render_box and chill_entity_render_string 2020-03-13 16:27:39 +01:00
92c8fe5b0d create api for adding a render entity function 2019-12-05 22:55:18 +01:00
f85462ac40 fix license header 2019-12-05 21:19:05 +01:00
98e7af91eb add show-hide module for javascript 2019-12-04 21:45:53 +01:00
77a4f52fdd improve return path and label functions 2019-08-28 17:43:08 +02:00
45a5583ab8 adding twig helper for routing and more 2019-05-02 23:11:09 +02:00
6fc9fa9833 get notification also for UserInterface
This will allow notification for admin
2018-05-14 13:14:10 +02:00
9b4bf04c9c add notification counter in user menu 2018-04-27 22:22:21 +02:00
7b8d22a486 remove dump statement 2017-04-18 22:18:19 +02:00
010c7652a6 Fixing minor issue with widget api and removing homepage menu 2016-09-23 12:34:48 +02:00
a3e7c60e01 replacing delegated_block api by widget api 2016-09-18 23:55:15 +02:00
5c67a9098e allow delegation of block rendering
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`.
2016-03-14 22:45:04 +01:00
Marc Ducobu
1c252eac43 Move csvCellFilter into Templating\CSVCellTwig - close #416 2015-03-03 10:57:23 +01:00
Marc Ducobu
88cb918c82 Adding twig filter for csv cell content - refs #401 2015-02-18 13:11:34 +01:00
Marc Ducobu
6cb7b89a27 Adding license 2015-02-18 12:37:17 +01:00
ab8c565ff3 add language fallback to translatable string
refs #332
2015-02-05 16:43:45 +01:00
57f2fa3178 create an helper + twig filter to show translatable string in current locale.
The twig filter is localize_translatable_string

Example : {{ person.nationality|localize_translatable_string }}

The helper may be called with $container->get('chill.main.helper.translatable_string'). The main function is ->localize(array $strings)

Example:

$container->get('chill.main.helper.translatable_string')->localize($country->getName()); #return the name in current locale

close #299
2014-11-17 01:03:07 +01:00