You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
So it would be nice to can customize any block by writing a template path on Sonata Admin, for example a SimpleBlock now needs to edit CmfBlockBundle:Block:block_simple_createphp.html.twig (or without createphp) in order to customize a simple block, but it will affect every SimpleBlock which sometimes is necessary to have independent templates...
I don't know if this feature exists, to change template of a single block, but I've not found it unfortunately.
The text was updated successfully, but these errors were encountered:
you need to dig through sonata block bundle for this a bit i think.
or just try if it happens to work when you use $block->setSetting('template', $myTemplate). probably needs a custom widget or something. and you want your templates in a dropdown, not have some content editor paste template names into a textfield...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So it would be nice to can customize any block by writing a template path on Sonata Admin, for example a SimpleBlock now needs to edit
CmfBlockBundle:Block:block_simple_createphp.html.twig
(or without createphp) in order to customize a simple block, but it will affect everySimpleBlock
which sometimes is necessary to have independent templates...I don't know if this feature exists, to change template of a single block, but I've not found it unfortunately.
The text was updated successfully, but these errors were encountered: