Skip to content

Instantly share code, notes, and snippets.

@docteurklein
Created December 18, 2013 15:35
Show Gist options
  • Save docteurklein/8024364 to your computer and use it in GitHub Desktop.
Save docteurklein/8024364 to your computer and use it in GitHub Desktop.
sf sonata:page:render-block sonata.page.cms.page 30 10
Block Information
> Id: 10 - type: sonata.block.service.text - name: title
>> content: "NEWS!"
>> template: "SonataBlockBundle:Block:block_core_text.html.twig"
>> code: "title"
BlockContext Information
>> use_cache: true
>> extra_cache_keys: []
>> attr: []
>> template: "SonataBlockBundle:Block:block_core_text.html.twig"
>> ttl: 84600
>> manager: false
>> page_id: false
>> content: "Insert your custom content here"
Response Output
Cache-Control: public, s-maxage=84600
Date: Wed, 18 Dec 2013 15:32:44 GMT
Insert your custom content here
1.0
200
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment