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

MongoDB and PHPCR-ODM

I used PHPCR-ODM with Jackalope / Doctrine-DBAL implementation so far on my Symfony2 website. However, now I'm considering using MongoDB instead of the mentioned one as a content repository, hopefully with PHPCR-ODM layer. How much does it take to…
forsberg
  • 1,681
  • 1
  • 21
  • 27
1
vote
1 answer

Sonata media bundle - pdf upload shows ROLE Error

I have a working image uploader with the mediabundle, but it looks like the fileupload doesn't work. i tried to upload a pdf file , and got the following error: The media can be retrieved by users with the following roles : ROLE_SUPER_ADMIN,…
1
vote
1 answer

Unrecognized config option "url_generator"

I'm currently working on an application involving the dynamic router. To customise the url generator I followed the documentation found here. Unfortunately it doesn't work, the following exception occurs: InvalidConfigurationException in…
Coded Monkey
  • 604
  • 7
  • 19
1
vote
1 answer

Symfony CMF Dynamic router "was not able to match" logs

I have a Symfony 2.6 application using Symfony CMF routing bundle 1.3 where we use a combination of normal symfony routes and dynamic routes for custom stores (amongst other things, the below example focuses on one of our dynamic routers). The…
Nick
  • 1,219
  • 1
  • 13
  • 24
1
vote
1 answer

Symfony CMF - Uploading Images and PDF Files

I am using the Symfony CMF Media Bundle to achieve the following. I am having several nodes that can have an image and a downloadable PDF. I have already figured out that the setImage method has to be implemented like that: public function…
user3676604
1
vote
1 answer

Symfony CMF phpcr_nodes sort_order

i am currently developing a content management system with symfony and symfony cmf. i am trying to implement a sorting functionality for some nodes that are belonging to a user. What i've figured out so far is that the nodes had to be placed in the…
user3676604
1
vote
1 answer

Symfony CMF Media Bundle - Could not load type "cmf_media_image"

I want to use the CMF Media Bundle for image uploads. The Bundle was installed successfully. routing.xml cmf_media_file: resource: "@CmfMediaBundle/Resources/config/routing/file.xml" cmf_media_image: resource:…
Keks
  • 11
  • 4
1
vote
1 answer

How should one redirect locale-less URIs to locale-full ones in Symfony-CMF?

Background We have a (fairly typical?) arrangement for a multilingual Symfony CMF website, where resource paths are prefixed by the desired locale—for example: http://www.example.com/en/path/to/english-resource.html;…
eggyal
  • 122,705
  • 18
  • 212
  • 237
1
vote
0 answers

Symfony2 CMF: Using Doctrine ORM instead of PHPCR ODM

I'm working in a project in Symfony2 and i want to use Symfony CMF with Doctrine ORM. In my config.yml: knp_menu: twig: true cmf_routing: dynamic: persistence: orm: enabled: true …
Abraham Mesa
  • 83
  • 2
  • 11
1
vote
1 answer

Doctrine PHPCR - Query on ReferenceOne attribute

I've got a problem with doctrine phpcr and the query builder. Is it possible to do a query on an attribute with ReferenceOne() ? e.g : /** * @PHPCR\ReferenceOne(targetDocument="....\Program") */ private $program; But when I'm trying to build a…
Peekmo
  • 2,843
  • 2
  • 19
  • 25
1
vote
1 answer

Reading data from CMF/PHPCR

I'm trying to use CMF for backoffice content edition. For the purposes of local content edition, CMF works fine. But then, I want to send this data to another server using a custom data structure, one that is completely different from what PHPCR…
ecc
  • 1,490
  • 1
  • 17
  • 42
1
vote
0 answers

Symfony CMF block bundle, Imagine block not displaying Image in front end (MAC MAMP)

I am working on a new Sylius project and I have been struggling with this many days and still couldn't find a solution. After looking into it, my problem is that the image in Imagine block not rendered or "resolved" with liip imagine bundle in front…
Ryan
  • 75
  • 2
  • 8
1
vote
3 answers

Is possible to mix Symfony2 CMF and the standard distribution?

We're planning a new intranet for our organization. Some part is like a CMS, and there are some custom-made applications. The Symfony2 CMF distribution looks fine for building the CMS part of the intranet, but other parts like Doctrine, "normal" SQL…
mHouses
  • 875
  • 1
  • 16
  • 36
1
vote
5 answers

Cannot access Sylius admin or view styled login, register or account pages

I'm looking to use Sylius for a new e-commerce site and wanted to have a play around first as it looks awesome but after installing all seems to work well on the front end but as soon as I view the login or register page, any kind of template or…
1
vote
1 answer

Access to PHPCR DocumentManager within Sonata Admin

I am using the sonata-project/doctrine-phpcr-admin bundle in my symfony cmf app, and need to call an external library in the postPresist action which requires the phpcr document manager. So my questions is, is there a way to retrieve the phpcr-odm…
dantelo
  • 60
  • 8
1 2
3
11 12