-
Notifications
You must be signed in to change notification settings - Fork 157
[WIP] Block: cache - add config to enable esi #181
Conversation
Could you please also add xml and php config? |
@@ -71,18 +71,18 @@ CmfBlockBundle and the SonataBlockBundle: | |||
3. *SonataBlockBundle* - Use the ``sonata_block`` key to configure the cache | |||
adapter for each block service: | |||
|
|||
.. configuration-block:: | |||
.. configuration-block:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wouterj this config is currently broken: http://symfony.com/doc/master/cmf/bundles/block/cache.html#installation
I am not sure if this will fix it. Do you know what the notation should be for putting a config block in a list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ones you changed are wrong, from the ReSt reference:
List item bodies must be left-aligned and indented relative to the bullet; the text immediately after the bullet determines the indentation.
The problems are the XML and PHP formats, those are indented with 8 spaces intead of the expected 7 spaces. If you change them here and in the block on line 45, it'll work.
I tried to add the xml config, however I cannot figure out some parts. Maybe you have a tip for me where I can learn about it? I checked the http://symfony.com/doc/current/reference/index.html, however it only contains some snippets. |
Sorry, you must have misunderstood me. I meaned only the XML and PHP for the changes you made, the others are added in #179 |
ok, then I will wait untill #179 is merged and add the changes then. |
[WIP] Block: cache - add config to enable esi
This should not have been merged, I now get a lot of conflicts... |
oops .. sorry .. didnt read the text closely enough :( |
can you open PRs for this? I am struggling to at least get new tags out today for jackalope |
I'll do later this afternoon (I can also push the revert commit immediately without a PR if that helps you) |
oops, if the code is reverted, the change that we should have as result is:
I forgot to mention the |
Documentation added for symfony-cmf/block-bundle#84 to enable esi in Symfony configuration.
Changes will be updated after #179 is merged.