Questions tagged [doctrine-phpcr]

53 questions
0
votes
0 answers

FOS User Bundle + PHPCR-ODM = ? (Symfony CMF)

Public admin backends obviously need some authentication mechanism. With a standard Symfony2 edition there are Sonata Admin and FOS User Bundle used for this purpose. But how about using FOS User Bundles within Sonata based on PHPCR-ODM with Symfony…
forsberg
  • 1,681
  • 1
  • 21
  • 27
0
votes
1 answer

How to extend the Page class from Symfony simple cms bundle?

I'm trying to extend the default Page class from symfony simple cms bundle. The problem: The custom property is not persisted. Below is the code of the class which extends from BasePage. use Doctrine\ODM\PHPCR\Mapping\Annotations\Document; use…
loicb
  • 587
  • 2
  • 6
  • 24
0
votes
2 answers

How I can do multiples join with querybuilder?

I'm using Doctrine PHPCR for a project. And I have relationships between many classes: class B { /** @Referrers(targetDocument="b") */ private $a; } class A { /** ReferenceOne(targetDocument="a") */ private $b; private…
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

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

CreateBundle Symfony CMF

I am trying to use the create bundle symfony cmf. So far everything works because I am able to edit blocks but I am not able to save my content. I get the following error: Error occurred while saving [{"message":"Not found:…
Dr.Knowitall
  • 10,080
  • 23
  • 82
  • 133
0
votes
1 answer

Symfony CMF Database Schema

I have started to look into Symfony CMF, and I must say it looks good! However, I can't get my head around the database Schema! I have read up on the basics of PHPCR, and understand it to an extent. The bit that is confusing me are all the extra…
Green Acorn
  • 852
  • 2
  • 10
  • 14
0
votes
1 answer

Doctrine PHPCR-ODM under Symfony not detecting mapped Document class

I am attempting to integrate PHPCR-ODM with an existing Symfony project, and am having trouble getting it to (presumably) detect my mapped Document class. Specifically, I get an error like this when attempting to persist a Document of my class…
futureal
  • 3,025
  • 1
  • 22
  • 33
1 2 3
4