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
2
votes
2 answers

How to remove the ADD USER in the "admin users area" in Drupal 7

I already did the admin only register but I would like to remove this tab if anyone can help me Thanks
2
votes
0 answers

Symfony2 upload image to PHPCR

I have DoctrinePHPCR and the MediaBundle installed on Symfony so that I may upload an image. The main example http://symfony.com/doc/master/cmf/book/database_layer.html Only describes how to save a "Document" in a Default Controller. I already have…
Ray Foss
  • 3,649
  • 3
  • 30
  • 31
2
votes
0 answers

Creating a block; "the options do not exist"

Working on a project using Symfony and the CMF bundle. I followed the documentation in creating your own block. However, when rendering the block, Symfony throws an exception telling me that the specified options do not exist. An exception has been…
Lars
  • 340
  • 4
  • 19
2
votes
1 answer

Sylius TOPIC: Is it possible to make ORM Relationship between 'ContentBundle\Doctrine\Phpcr\StaticContent' and 'sylius\component\core\model\Produit'

So logic is one static_content has many products. In backend - the form for create or update a static_content, i want add a multi choices list which has all my products. I think i should create new document(a php file) inside…
孙悟空
  • 1,215
  • 1
  • 11
  • 26
2
votes
2 answers

CmfRouting + JMSI8nRouting: how to make them work together?

I was using JMSI8nRoutingBundle in my (Sylius) project, everything was going well. I've just switch to CMFRouting for some of my routes (mainly products), but these routes don't work properly when I have JMS i8n routing enabled, here is the error I…
abacco
  • 303
  • 2
  • 9
2
votes
0 answers
2
votes
0 answers

Error installing Symfony2 CMF

When I try to access /cms/simple/contact (or any other path from phpcr_nodes table) I get the following error: Notice: Undefined offset: 0 in /home/xx/xx/xx/public_html/vendor/symfony/symfony/src/Symfony/Component/Routing/RouteCompiler.php line 169…
Shinhan
  • 2,820
  • 2
  • 18
  • 21
1
vote
1 answer

What can be reasons of error "None of the chained routers were able to generate route: Route not found" in SymfonyCMF?

Getting error from file: /app/vendor/symfony-cmf/routing/src/ChainRouter.php "None of the chained routers were able to generate route: Route '/cms/routes/can' not found". I am guessing it should find this route from database table phpcr_nodes, it…
Darius.V
  • 737
  • 1
  • 13
  • 29
1
vote
0 answers

$contentDocument controller action argument with Symfony CMF Dynamic Router

I've followed the Controllers and templates documentation after having integrated Symfony CMF and the AutoRoutingBundle into my application. My issue is similar to #50450338 but even when naming the argument correctly, I can't solve the problem. I…
1
vote
3 answers

Symfony 4 routing from DB

I'm creating a simple CMS with Symfony 4. Where it it's possible to create pages. When creating a page a Doctrine EvenSubscriber is being called. This subscriber creates an PageRoute.
Bham
  • 309
  • 5
  • 21
1
vote
2 answers

Symfony CMF WebTestCase missing phpcr:managed node type

I'm trying to write some WebTestCases for a simple blog integrated in our web application. One of the test cases looks like the following: public function testNewSubmitAction() { //load necessary data & login as admin $fixtureRepo =…
1
vote
0 answers

How to user symfony-cmf/simple-cms-bundle in symfony3

I want to use symfony-cmf/simple-cms-bundle in symfony3.2 but It's support only symfony2. So I am looking to avoid check version at the time of development and will update on production. Is it possible by pass validation through any configuration…
Yogesh Karodiya
  • 225
  • 5
  • 15
1
vote
3 answers

Symfony redirect to dynamic route name

I'm using the Symfony CMF Routing Bundle to create dynamic routes (I'm using one example here): $route = new Route('/dynamic-url'); $route->setMethods("GET"); $route->setDefault('_controller',…
BigJ
  • 1,990
  • 2
  • 29
  • 47
1
vote
1 answer

Symfony - Changing config value dynamically

I am using Symfony CMF, it has a RoutingAutoBundle, which exposes these parameters: cmf_routing_auto: .... persistence: phpcr: route_basepath: /routes I need to set the route_basepath dynamically on the go, is it…
user2559108
1
vote
2 answers

Doctrine-PHPCR-ODM Event doesn't fire

I have a doctrine-phpcr-odm document named article,I want to slugify a field before updating each article. The event fires for doctrine-orm entities but dosn't fire for doctrine-phpcr-odm documents! class ArticlePreUpdateListener { public…
Saman Mohamadi
  • 4,454
  • 4
  • 38
  • 58
1
2
3
11 12