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
0
votes
1 answer

Override template of a Symfony BlockBundle SimpleBlock

I recently configured my website project to use Symfony CMF with Sonata Admin. I'm now populating my website with random editable simple blocks, but can't figure out the way to override their rendering template.
Codii
  • 873
  • 7
  • 18
0
votes
1 answer

Symfony2 CMF Routing Auto Bundle - can't install

I am trying to setup the Symfony2 CMF but experiencing trouble installing symfony-cmf/routing-auto-bundle. The tutorials I have followed appear to indicate this should be simple with composer, but I See the following error. Problem 1 -…
Dom Weldon
  • 1,728
  • 1
  • 12
  • 24
0
votes
1 answer

Symfony 2 CMF: Embed content twig in another admin twig

I have created a twig file in sonata admin, where I want to show the preview of the another twig created using the sonata cms. I found the use of render method to embed the controller action.
{{…
Satya S
  • 228
  • 1
  • 6
0
votes
1 answer

Symfony-CMF managing content with phpMyAdmin and general questions about architecture

I need some inspirations on how to structure an Symfony(CMF) application. I have a customer which wants to manage all the content on his website with phpMyAdmin as he did this over the last years successfully. The old website need to be rewrite…
Stefan
  • 359
  • 3
  • 17
0
votes
1 answer

PHPCR Jackalope / Jackrabbit performance and compatibility (Symfony CMF)

Anticipating possible future issues, I decided to use Java-based Jackrabbit implementation (since it's the system with the highest performance according to the Symfony CMF docs) for the storage purposes. For the portal I'm developing I use at the…
forsberg
  • 1,681
  • 1
  • 21
  • 27
0
votes
1 answer

Indecent number of queries with PHPCR/Jackalope Doctrine DBAL?

I'm just start learing PHPCR with Doctrine and Jackalope DBAL implemnetation. Using the Symfony 2 debug toolbar I can see that, for a simple form and with parent property selection, it takes 15 queries (... added for readability): [2014-08-24…
gremo
  • 47,186
  • 75
  • 257
  • 421
0
votes
1 answer

non-existing parameter for 'sonata.page.admin.block'

I am nearly finished with installing most of the Sonata bundles in Symfony CMF. For now. my final step is finishing with the Sonata PageBundle. I installed all needed dependencies and needed bundles, I changed several config or routing files from…
John Doe
  • 557
  • 1
  • 6
  • 16
0
votes
1 answer

Permission issue with 'app' folder using Symfony CMF

I just installed Symfony CMF (standard edition 1.1) on a Linux VPS running Ubuntu 13. Everything is installed without errors but I always end up with a permission problem regarding the /app/cache & /app/logs folder. As far as I know I installed the…
John Doe
  • 557
  • 1
  • 6
  • 16
0
votes
1 answer

install symfony-cmf PHP Fatal error

I have installed symfony-cmf and finaly I got this error : PHP Fatal error: Class Sonata\MediaBundle\Block\MediaBlockService contains 1 abstract method and must therefore be declared abstract or implement the remaining methods…
user3588551
  • 83
  • 10
0
votes
0 answers

FOS User Bundle + PHPCR-ODM = ? (Symfony CMF)

Public admin backends obviously need some authentication mechanism. With a standard Symfony2 edition there are Sonata Admin and FOS User Bundle used for this purpose. But how about using FOS User Bundles within Sonata based on PHPCR-ODM with Symfony…
forsberg
  • 1,681
  • 1
  • 21
  • 27
0
votes
1 answer

Auto Routing Bundle - and parameters? (Symfony CMF)

I was successful with getting Symfony CMF and Auto Routing Bundle (and a custom contoller) to load documents in the following manner (path): .../category/article-name This works fine. But I need something like this, easily achieved by standard…
forsberg
  • 1,681
  • 1
  • 21
  • 27
0
votes
1 answer

Undefined variable in actionblock template

This is my first SymfonyCMF application, so please bear with me, I might be fundamentally misunderstanding some concepts. I have an ActionBlock (/cms/content/most-recent-psa) with an action of FooCmsBundle:Psa:embedPsa. My embed function looks like…
monksp
  • 929
  • 6
  • 14
0
votes
1 answer

How to extend the Page class from Symfony simple cms bundle?

I'm trying to extend the default Page class from symfony simple cms bundle. The problem: The custom property is not persisted. Below is the code of the class which extends from BasePage. use Doctrine\ODM\PHPCR\Mapping\Annotations\Document; use…
loicb
  • 587
  • 2
  • 6
  • 24
0
votes
1 answer

Symfony cmf v1.1 upgrade

I am trying to upgrade the symfony cmf bundles from v1.0 to v1.1 in our project. composer.json before upgrade: "doctrine/phpcr-odm": "1.1.0-RC1 as 1.0", "doctrine/phpcr-bundle": "1.1.0-beta1 as 1.0", "phpcr/phpcr-utils": "1.1.0 as 1.0", …
Chanaka
  • 954
  • 1
  • 8
  • 17
0
votes
2 answers

How I can do multiples join with querybuilder?

I'm using Doctrine PHPCR for a project. And I have relationships between many classes: class B { /** @Referrers(targetDocument="b") */ private $a; } class A { /** ReferenceOne(targetDocument="a") */ private $b; private…