Questions tagged [symfony-cmf]

The Symfony2 Content Management Framework (CMF) project makes it easier for developers to add CMS functionality to applications built with the Symfony2 PHP framework.

The Symfony2 Content Management Framework (CMF) project makes it easier for developers to add CMS functionality to applications built with the Symfony2 PHP framework. Key development principles for the provided set of bundles are scalability, usability, documentation and testing.

As of 25 October 2014, the latest stable release is 1.2.

Useful links

174 questions
1
vote
3 answers

How to render a submenu in symfony-cmf

I am desperately trying to render a submenu in symfony-cmf. Example Structure: page1 ├─p1-subpage1 ├─p1-subpage2 └─p1-subpage3 page2 ├─p2-subpage1 └─p2-subpage2 Whenever the current page is somewhere within the page1 hierarchy it should…
Patrick
  • 879
  • 2
  • 11
  • 29
1
vote
1 answer

Standard form type for editing mutlivalue? (Symfony CMF PHPCR)

I'm using Sonata Admin as a backend. I have within PHPCR Document field that is multivalued (i.e. in PHP an array of strings). Now I'd like to add/remove elements from it within Sonata admin. Which type should I use? Tried collection, but I get…
forsberg
  • 1,681
  • 1
  • 21
  • 27
1
vote
2 answers

Symfony CMF Sandbox mysql

I'm trying to install Symfony CMF with mysql database. Can somebody tell me step after step how to do it ? I've already downloaded project and i'm trying to migrate to mysql from sqlite but i don't know how.
woj_jas
  • 1,092
  • 7
  • 23
  • 50
1
vote
1 answer

Version problems with symfony-cmf/routing-auto-bundle in my existing project

I started yesterday and I tried to install the symfony/cmf bundles in my existing project. Unfortunately I am not so familiar with composer and it ended with huge mess. Now I reverted my project and try it again with clean head, but the same issue…
Daniel
  • 539
  • 4
  • 25
1
vote
1 answer

Routing auto bundle unable to update

I'm not a composer expert, and perhaps I don't understand some things about it. There is new Symfony CMF version I wanted to use for learning it: https://github.com/symfony-cmf/symfony-cmf/blob/master/composer.json As you see in composer.json, there…
forsberg
  • 1,681
  • 1
  • 21
  • 27
1
vote
2 answers

How to add a phpcr-odm ReferenceMany field to sonata admin?

In my document I have a field that I want to store the related nodes and I defined it like this: /** * @PHPCRODM\ReferenceMany(targetDocument="Symfony\Cmf\Bundle\SimpleCmsBundle\Doctrine\Phpcr\Page", strategy="hard") */ protected…
MKoosej
  • 3,405
  • 3
  • 21
  • 29
1
vote
1 answer

Error installing SonataMediaBundle on Symfony CMF

I try install SonataMediaBundle with Symfony CMF Sandbox and have this exception after install Catchable fatal error: Argument 2 passed to Sonata\CoreBundle\Model\BaseManager::__construct() must implement interface…
George Novik
  • 153
  • 1
  • 10
1
vote
1 answer

Symfony CMF confusion

I'am new to symfony, even more to symfony cmf. I have project idea and want to get started, but as I'am reading documentation I get more and more confused. What I need to build is CMS with tree like structure routes and multilingual support for…
antanas_sepikas
  • 5,644
  • 4
  • 36
  • 67
1
vote
1 answer

Nested Routes with RoutingAutoBundle (Symfony CMF)

I imagine this is a simple enough thing. I just want to use the RoutingAutoBundle for nested pages. I'm following along here http://symfony.com/doc/current/cmf/cookbook/creating_a_cms/ Say I have Page documents which have a parent. /** * *…
Matt
  • 5,478
  • 9
  • 56
  • 95
1
vote
0 answers

Symfony CMF StaticContent show all child blocks in PHPCTRee?

Does anybody know how I can make all child blocks show up on the CMF Tree in the Sonata Admin for the StaticContent class? The way our system uses the Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent class is to just use it as a…
1
vote
2 answers

Symfony CMF CSS not loading: Resource interpreted as Stylesheet but transferred with MIME type text/html:

Using this tutorial, I'm trying to get the Symfony2 CMF up and running. I was able to get the framework off the ground, but none of the styles or scripts are loading. I'm getting the errors for the js and css: Resource interpreted as Stylesheet but…
Carey Estes
  • 1,534
  • 2
  • 31
  • 59
1
vote
1 answer

Workflow with own documents and symfony cmf

I've red so much about the symfony cmf. Red the whole docu and the cookbook too. Now i wanna create my first cms application. It is very easy to get a starting kit based on the sandbox. This works. I am able to create and manage all documents from…
1
vote
1 answer

Symfony CMF - security.context service is not enabled, therefore can't use FOSUserBundle, solutions?

I am trying to create a new bundle inside a symfony CMF project that uses FOSUserBundle. I have experience with symfony2 but I am new to using the cmf. Steps I followed: 1) I installed symfony CMF using below command. php composer.phar…
Chanaka
  • 954
  • 1
  • 8
  • 17
1
vote
1 answer

valid_children setting for Symfony Sonata / CMF

Continuing on the journey to install the Symfony2 CMF, I am getting the error: [InvalidArgumentException] The…
Carey Estes
  • 1,534
  • 2
  • 31
  • 59
1
vote
1 answer

Symfony-CMF Fixtures Not creating

I've searched all the manuals for the answer, but can not find it at all. I'm trying to apply the CMF to my existing Symfony 2 project using this doc: http://symfony.com/doc/master/cmf/tutorials/creating_cms_using_cmf_and_sonata.html Then, I've…
Serge Velikan
  • 1,131
  • 15
  • 31