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
0 answers

Symfony CMF Dynamic Router with kernel request listener for multi site app

Apologies for the long post, feel like I have gone down a rabbit hole here and struggling to find a solution which works. I'm building a Symfony (2.6) application which I'd like to support multiple stores each with unique products for example using…
Nick
  • 1,219
  • 1
  • 13
  • 24
0
votes
2 answers

How to make nested where clauses with phpcr odm

The phpcr odm documentation seems to be quite clear on that point, but I can't manage to make it. Here the raw mysql equivalent expected: SELECT (foo, bar, baz) FROM table WHERE (foo = 'foo') AND bar = 'bar' OR (baz = 'baz' OR baz = 'bazinga') I…
loicb
  • 587
  • 2
  • 6
  • 24
0
votes
1 answer

Templating with Symfony CMF

I want to edit content on my app using the WYSIWYG editor in CMF. The getting started tutorials are all focused on how to setup the backend of the application. However, the frontend is what I don't really understand how to setup. In these examples,…
ecc
  • 1,490
  • 1
  • 17
  • 42
0
votes
1 answer

Sonata media - No resizing

I would like to know if that's possible to get an image with {% path %} or {% media %} in a twig template from sonata, without crop/resize ? It seems that it's required to specify a format, but I would like to keep the original size in some case. I…
Peekmo
  • 2,843
  • 2
  • 19
  • 25
0
votes
1 answer

Ckeditor edit bar position with symfony CMF

I have installed Ckeditor in my project Symphony CMF to allow editing the content of the pages inline. I have a toolbar in the top of the page with edit/save button to make changes. Everything works fine, except that this toolbar is hiding some of…
Nafaa Azaiez
  • 131
  • 1
  • 7
0
votes
1 answer

How to integrate Symfony SimpleCmsBundle in my current project?

I am planning to integrate SimpleCmsBundle into my existing Symfony2 project. How i can import the dependencies through composer? My current application's composer.json file is in the root folder, just like default symfony2. So, do I need to copy…
Dip
  • 646
  • 6
  • 8
0
votes
0 answers

Symfony2 - crash after add RoutingAutoBundle

I have next problem with cmf bundle. I created my own cms on routing bundle and everything work fine. I want to add blog to my cms so I installed RoutingAutoBundle and after that ( without any configuration ). I just adding it to AppKernel. When I…
Micchaleq
  • 433
  • 1
  • 5
  • 21
0
votes
2 answers

Symfony 2 - Symfony CMF SearchBundle installation

I'm trying to install Symfony CMF SearchBundle over a clean Symfony 2.3 but the installation instructions are quite incomplete. It seems like it has some dependencies that needs to be added manually in composer.json. After hours I got to…
VMC
  • 1,378
  • 4
  • 16
  • 32
0
votes
1 answer

Using Symfony CMF to feed Redis

I'm supposed to make CMF feed a Redis queue which will then be polled by other servers. I'm still learning about CMF and it has become a little overwhelming to understand it. I've been using plain Symfony2 for a while, though. I understand CMF can…
ecc
  • 1,490
  • 1
  • 17
  • 42
0
votes
1 answer

Doctrine PHPCR @Children & @Child

I started learning PHPCR with doctrine in Symfony-CMF, and I have a question. Is that possible to have @Children and @Child on 2 differents attributes of the same document ? According to the doc... The annotated instance variable will be populated…
Peekmo
  • 2,843
  • 2
  • 19
  • 25
0
votes
0 answers

CmfRoutingBundle & PHPCR-ODM Custom Translation Strategy

I'm trying to put together the following phpcr structure, which consists of freezing out certain versions of documents as references that are then pushed to external system apis for translation. Once a translation is complete for a locale it is sent…
dantelo
  • 60
  • 8
0
votes
0 answers

Symfony CMF can't load homepage and another pages

all. I tried to rewrite cmf/simplecmsbundle. I try to learn it but now I have problem. My pages don't display. I don't know what I should to write. Pages are in database. My homepage initializer is that same what cmf/simplecmfbundle. My…
Micchaleq
  • 433
  • 1
  • 5
  • 21
0
votes
2 answers

Error generating custom url that shows a phpcr document version in SonataAdmin

So i'm trying to extend the SonataAdmin show view to have a list of the document's versions (phpcr checkpoint or checkin). I've got the list of saved versions showing correctly, and now i need to make them into links that display that version of…
dantelo
  • 60
  • 8
0
votes
2 answers

Change default path on Symfony CMF

I installed Symfony CMF structure bundles on my project, but default route is on localhost/project/web/app_dev.php/ and i want to show it on localhost/project/web/app_dev.php/cms Thank you!!
0
votes
3 answers

Symfony 2 CMF - Installing cmf sandbox

I try to install smf-sandbox from git https://github.com/symfony-cmf/cmf-sandbox But I got error: Catchable Fatal Error: Argument 2 passed to Symfony\Cmf\Bundle\RoutingBundle\Admin\Extension\FrontendLinkExtension::__construct() must be an instance …
Micchaleq
  • 433
  • 1
  • 5
  • 21