Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Added more formats (mostly templating) #179

Merged
merged 1 commit into from
Jul 12, 2013
Merged

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented Jul 8, 2013

As promissed, I've updated the core and block bundle docs to reflect the templating changes I made.

I recommend to wait merging this until these PRs are merged:

Q A
Doc fix? yes
New docs? yes ( symfony-cmf/core-bundle#62, symfony-cmf/block-bundle#76, symfony-cmf/block-bundle#82, sonata-project/SonataBlockBundle#78, sonata-project/SonataAdminBundle#1456 )
Applies to all
Fixed tickets -

$container->loadFromExtension('cmf_block', array(
// ...
'caches' => array(
'ssi' => array(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find this one in the configuration tree of the cmf block bundle. Only varnish and esi are available, are you sure this still works?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$container->loadFromExtension('cmf_block', array(
// ...
'caches' => array(
'esi' => array(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esi = varnish, it is updated some time ago in the SonataCacheBundle and synced to the CmfBlockBundle. We should also update it in the docs. In this PR #180 the yaml part is updated. However you could also update it in this PR and then I update the other PRs accordingly if you want to merge them afterwards?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated all formats with varnish.

@dbu
Copy link
Member

dbu commented Jul 12, 2013

this now needs a rebase on master. is it otherwise good to merge?

@wouterj
Copy link
Member Author

wouterj commented Jul 12, 2013

Only symfony-cmf/block-bundle#82 needs to be merged and I'd like to see how we could fix this example: #179 (comment) (but that can be done after merging)

@wouterj
Copy link
Member Author

wouterj commented Jul 12, 2013

@dbu rebased

@dbu
Copy link
Member

dbu commented Jul 12, 2013

i will merge here, guess blockbundle is fixed very soon. for the twig function, can you please create an issue on the docs repository so we don't forget about this?

dbu added a commit that referenced this pull request Jul 12, 2013
Added more formats (mostly templating)
@dbu dbu merged commit 60fd16f into symfony-cmf:master Jul 12, 2013
extra_cache_keys: { 'extra_key': 'my_block' }
}) }}

.. code-block:: php+html
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

html+php

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants