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

Doctrine ODM PHPCR query builder document join on relational database

I have 2 different kind of storage for a CMS that I am building. A relational database and a content repository (PHPCR + Doctrine ODM). I have a User which is stored inside the relational database and I have a Post document which is stored inside…
Steffen Brem
  • 1,738
  • 18
  • 29
0
votes
1 answer

Enabling tree browsing for custom content

I want to create a custom PHPCR document for a set of pages that I have in my website. I extended the SimpleCms/Page class and I created my object and persisted it using the document manager. I can see the content using node:dump command and in the…
MKoosej
  • 3,405
  • 3
  • 21
  • 29
0
votes
1 answer

Symfony2 - simplecms : how add extras data?

I've a problem in my form for the entity Page from simplecms I want to add an item in the array Extras, so i added it in my formtype : use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use…
0
votes
0 answers

CKeditor not showing and some content cannot be saved - Symfony CMF

I have installed the CMF sandbox by following this tutorial: http://symfony.com/doc/master/cmf/cookbook/editions/cmf_sandbox.html I'm using Jackalope + Doctrine DBAL instead of Apache Jackrabbit and at first glance everything seems to be…
LBridge
  • 2,135
  • 5
  • 21
  • 32
0
votes
1 answer

Doctrine PHPCR-ODM Query Builder selecting document inside specific node

I have the following nodes: / /applications /applications/1 /applications/1/pages [contains Page documents] I want to select all Page documents inside the node /applications/1. I used the following to do that (which seems right), but it throws an…
Steffen Brem
  • 1,738
  • 18
  • 29
0
votes
1 answer

"None of the managerParameters resulted in a valid name" exception after installing and configuring FOSUserBundle on a CMF project

I get the following error after installing and configuring FOSUserBundle into a CMF project. ParameterNotFoundException: You have requested a non-existent parameter "None of the managerParameters resulted in a valid name". in…
LBridge
  • 2,135
  • 5
  • 21
  • 32
0
votes
1 answer

Setup symfony CMF

I want to start with Symfony CMF, but I have a problem. I followed tutorial but instead of using default SQL, I need MySQL with doctrine ORM, so I tried configuring it following these guides. Everything looks good until I try to initiate database,…
antanas_sepikas
  • 5,644
  • 4
  • 36
  • 67
0
votes
1 answer

Symfony dynamic router create dynamic route from entity

I have been looking at symfony CMF but I cannot figure if it is able to handle my problem. I want to build a shop bundle where it is possible per language to configure the url to a specific product i.e. /product/{productId}/[productName] for EN and…
Torben Pi Jensen
  • 850
  • 9
  • 27
0
votes
2 answers

Symfony-cmf routing step by step

The symfony-cmf documentation is a nightmare, it is really hard to understand and it seems that many of it is outdated. I think I have understood the routing concept, but I can't figure how to implement it, clearly. How to register a router? How to…
loicb
  • 587
  • 2
  • 6
  • 24
0
votes
1 answer

Class 'Doctrine\ODM\PHPCR\Document\Generic' is not a valid document or mapped super class

hi everyone i am new to symfony2 cmf i have success fully installed the cmf to my local system and it run suceessfully but my problem is when i deploy it ti my server it gives following error error Class 'Doctrine\ODM\PHPCR\Document\Generic' is…
Gaurav
  • 56
  • 6
0
votes
1 answer

How to create a custom PHPCRBundle initializer in doctrine/phpcr-bundle "dev-master": "1.1-dev"

I`m following the tutorial Creating a Basic CMS and i got stuck when triying to create a custom initializer for my site document class, the documentation in the symfonycmf cook book page is using doctrine/phpcr-bundle 1.0 and i'm using dev-master…
metalvarez
  • 606
  • 1
  • 8
  • 14
0
votes
1 answer

Symfony-cmf simple cms tutorial bug

I am tryin' to proceed this tutorial http://symfony.com/doc/master/cmf/cookbook/creating_a_cms/getting-started.html. After this command: php app/console doctrine:phpcr:fixtures:load I've got following error: PHP Catchable fatal error: Argument 2…
0
votes
1 answer

SymfonyCMF RoutingBundle Doctrine PHPCR configuration error

i'm following the tutorial Creating a Basic CMS but after configurate the CMF RoutingBundle like it's shown in Enable the Dynamic Router i got the following error when i try to load the fixture data PHP Catchable fatal error: Argument 2 passed to…
metalvarez
  • 606
  • 1
  • 8
  • 14
0
votes
1 answer

Include a Cmf Blog on a page

In my application I want to do a page with: A CMF blog Other elements like a list of FosUser To include CMF blog bundle in my template I tried: {{ render(controller('CmfBlogBundle:Blog:list', { 'id': 'public-blog' })) }} where "public-blog" is…
CyrilleGuimezanes
  • 1,598
  • 1
  • 18
  • 33
0
votes
2 answers

Symfony CMF BlockBundle default admin can't change parent

With the default admin classes for the BlockBundle (1.0.*) in Symfony CMF, I am unable to modify the "parent" of a block. The parent filed is disabled (both when adding and editing), but always shows "/cms/content". I would like to just use the…
Matt
  • 5,478
  • 9
  • 56
  • 95