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

How can I add simple CMS functionality to existing Symfony application

I have an existing web application accessing a MySQL database. I'm porting this application to Symfony. The new application has to use the old database, as we cannot port the whole application at once, i.e. the old and the new application are…
fishbone
  • 3,140
  • 2
  • 37
  • 50
0
votes
1 answer

Symfony CMF display all static contents from container block

In symfony cmf I like to create the following: create a menu item called inside create a container block called insideBlock create multiple static contents, they should have as parent the container block if a user clicks the menu inside, all items…
schurtertom
  • 520
  • 1
  • 9
  • 19
0
votes
0 answers

How to map children on a phpcr document. Children always empty

i have a document 'Page' which should have different "elements" of unstructured content on the page. The mapping of my document is loaded properly (i can create documents) and it looks like that:
Patrick
  • 1,562
  • 1
  • 16
  • 33
0
votes
0 answers

Symfony CMF menu translation

I try to set up a simple CMS on our web application using the Symfony CMF. I can successfully load the fixtures in multiple languages. $parent = $dm->find(null, '/cms/pages'); $rootPage = new Page(array('add_locale_pattern' =>…
0
votes
0 answers

Using CKFinder with Amazon Cloudfront, not only S3

Out of the box, CKFinder is shipped with an adapter for S3 buckets which works nicely. Files are put into the bucket and fetched from it. However, how can I, if at all, use Cloudfront in addition? Is it possible, or recommended, to choose a file…
0
votes
1 answer

How to addsub pages to Sylius

Is there a way to create pages in Sylius with the following structure: top-level-a top-level-a/sub-level-a-1 top-level-a/sub-level-a-2 top-level-b top-level-b/sub-level-b-1 top-level-b/sub-level-b-2 I have only been able to create top-level…
pfwd
  • 1,088
  • 1
  • 11
  • 22
0
votes
1 answer

Deploying Symfony-CMF project to Heroku

I currently following CMF docs to create a project : https://symfony.com/doc/master/cmf/tutorial/introduction.html As i continue on Tutorial, i like to push the project to heroku. But i ran in to a problem when i need to have database…
Ersah
  • 13
  • 1
  • 6
0
votes
1 answer

Symfony 3.0.1 CMF routing

first I apologize for my bad english and probably silly question. I installed a new version of Symfony - 3.0.1 and then tried to install with Composer symfony-cmf/routing but Command Line allerted me that this is possible only for Symfony versions…
Pesino
  • 23
  • 5
0
votes
1 answer

How to add a role requirement for Symfony CMF content or routes?

In Symfony CMF there is a PublishableInterface. This seem to only handle whether a node is published but is not meant to function as Role based security. Or is it? Let's say I want a specific StaticContent page to only be accessible, and only show…
Jeremy
  • 367
  • 4
  • 12
0
votes
1 answer

How to link a Symfony CMF StaticContent to an existing route

I am currently using the Symfony CMF stack without the SimpleCMSBundle. In Sonata Admin I am able to create StaticContents including SEO Metadata. This is all working and I can add content pages with SEO metadata this way. However, how can I link an…
Jeremy
  • 367
  • 4
  • 12
0
votes
1 answer

Symfony CMF Media Bundle Form Type not recognised - Could not load type "cmf_media_image"

I've been following the CMF Media bundle installation, after wading through all the composer conflicts and such I now can't load a simple form with an image widget. Gives Could not load type "cmf_media_image" If I run php app/console…
Martin Lyne
  • 3,157
  • 2
  • 22
  • 28
0
votes
1 answer

Custom Symfony CMF dynamic router implementation

I want to use dynamic routing combined with default controller routing. I have a table "Page" which has a column "url" to which the incoming request url should be checked against. If the url is not found in this table, the default controller routes…
BigJ
  • 1,990
  • 2
  • 29
  • 47
0
votes
1 answer

Symfony CMF - Create JS Change label attribute from page

I am working with symfony cmf on a cms page. Currently i am trying to edit the label property from a Symfony\Cmf\Bundle\SimpleCmsBundle\Doctrine\Phpcr\Page object. In my twig template i have the following: {% createphp page as="rdf" %} …
user3676604
0
votes
2 answers

Cannot convert application to multi-lang and keep current content translatable

We have an application built on Symfony-CMF which is running fine. We now have a requirement to add locales and translations to the content. We have set up one page (/contact) with various locale specific routes (e.g. /en/contact and /fr/contact)…
liquorvicar
  • 6,081
  • 1
  • 16
  • 21
0
votes
1 answer

Architecture of CMS on Top Symfony CMF

Im building a very custom CMS on top of Symfony CMF Components/Bundles. I read almost everything i could about the CMF Components/Bundles and i have the "architecture" kinda defined. Im experienced/familiarized with Symfony2 components. The CMS…
João Alves
  • 1,931
  • 17
  • 25