@@ -95,6 +95,11 @@ cmf_core:
9595 phpcr :
9696 enabled : true
9797
98+ cmf_content :
99+ persistence :
100+ phpcr :
101+ document_class : Sandbox\MainBundle\Document\DemoSeoContent
102+
98103cmf_routing :
99104 chain :
100105 routers_by_id :
@@ -118,6 +123,11 @@ cmf_create:
118123 # for demo purposes we are allowing anonymous inline editing
119124 role : IS_AUTHENTICATED_ANONYMOUSLY
120125
126+ cmf_seo :
127+ title : CMF Sandbox - %%content_title%%
128+ description : The Content Management Framework. %%content_description%%
129+ sonata_admin_extension : true
130+
121131sonata_block :
122132 default_contexts : [cms]
123133 blocks :
@@ -153,6 +163,9 @@ sonata_admin:
153163 cmf_routing.admin_extension.route_referrers :
154164 implements :
155165 - Symfony\Cmf\Component\Routing\RouteReferrersInterface
166+ cmf_seo.admin_extension :
167+ implements :
168+ - Symfony\Cmf\Bundle\SeoBundle\Model\SeoAwareInterface
156169
157170 templates :
158171 # default global templates
@@ -195,7 +208,7 @@ sonata_doctrine_phpcr_admin:
195208 Doctrine\ODM\PHPCR\Document\Generic :
196209 valid_children :
197210 - all
198- Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent :
211+ Sandbox\MainBundle\Document\DemoSeoContent :
199212 valid_children :
200213 - Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\SimpleBlock
201214 - Symfony\Cmf\Bundle\BlockBundle\Doctrine\Phpcr\ContainerBlock
@@ -240,6 +253,14 @@ sonata_doctrine_phpcr_admin:
240253 valid_children :
241254 - Symfony\Cmf\Bundle\MenuBundle\Doctrine\Phpcr\MenuNode
242255
256+
257+ sonata_seo :
258+ page :
259+ title : CMF Sandbox
260+ metas :
261+ name :
262+ keywords : " CMF, Symfony, Routing, Content, PHPCR"
263+
243264sensio_framework_extra :
244265 view : { annotations: false }
245266 router : { annotations: true }
0 commit comments