Questions tagged [stofdoctrineextensions]
81 questions
0
votes
1 answer
Symfony2: EasyAdminbundle + StofDoctrineExtensionsBundle + VichUploaderBundle
I have a project using EasyAdminBundle for administration. In one Entity called "Post" I have the fields "title", "image" and "post" which I would like to track about changes. The property "image" only stores the filename of the image - the full…

nPoday
- 95
- 1
- 10
0
votes
1 answer
StofDoctrineExtensionsBundle Translatable
I'm building Symfony 2 app with two languages i have implement the Translatable from StofDoctrineExtensionsBundle. The Translatable make other table ext_translations and store the translations.
Here is the table which i will use to translate…

George Plamenov Georgiev
- 692
- 1
- 11
- 27
0
votes
1 answer
symfony2 migration bundle refuse to migrate
Hi guys i have integrate in Page CRUD a slug and image upload with the stofdoctrinebundle and vichuploaderbundle.
Here is the Entity:
namespace George\PageBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use George\UserBundle\Entity\User;
use…

George Plamenov Georgiev
- 692
- 1
- 11
- 27
0
votes
1 answer
Update entities changed with DoctrineExtensions Sortable
I have a PreUpdate listener where I change entry version. I have my own Versioning system (just an integer field with a version number which is increased to the highest+1 when entity is changed).
So if I change sth, version is increased. I also use…

Tom
- 1,203
- 3
- 15
- 35
0
votes
1 answer
DoctrineExtensions Uploadable on entity update doesn't keep current value
I am using Uploadable extension and very happy with that.
I have entity with one field as an Uploadable (photo), and another field is annotation for that photo (annotation). When I first create entity I choose the file, and put annotation and…

mikayel ghazaryan
- 616
- 5
- 10
0
votes
2 answers
Why tree is invalid?
I have a entity that use doctrine extension, tree behaviuor, i found problems in tree and don't know it's reason.
my entity:
MyEntity:
type: entity
gedmo:
tree:
type: nested
id:
id:
type: integer
…

ghanbari
- 1,630
- 1
- 16
- 31
0
votes
1 answer
stof/doctrine-extensions-bundle requires errors
My composer.json:
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/", "SymfonyStandard": "app/" }
},
"require":…

Artur Schroeder
- 243
- 4
- 15
0
votes
2 answers
Symfony2 stof doctrine uploadable with 1..1 or n..1 relations
i'm having trouble to use the uploadable extension of stofdoctrinebundle
i've a File entity :

Chuck Norris
- 1,125
- 1
- 12
- 28
0
votes
1 answer
Not able to get children of children using StofDoctrineExtension Tree
I have a database that was created dynamically just for trial purposes. I created a parent(home), set its children and then created children of those children(sub children you can say).
Now i want to only get the list of all the Sub-Children.
My…

Osama Yawar
- 361
- 2
- 6
- 19
0
votes
2 answers
Display a tree hierarchy
I have a Category entity designed to represent a Forum category. I used StofDoctrineExtensionsBundle in order to use its Tree annotation, in order to have a hierarchy in categories. Now, I would like to represent that hierarchy in a string, some…

DarkChipolata
- 925
- 1
- 10
- 29
0
votes
1 answer
A2lixTranslationFormBundle with Stof DoctrineExtensionsBundle: 500 Internal Server Error - ReflectionException
I'm trying to do a simple translable entity using these (composer.json):
"php": ">=5.3.3",
"symfony/symfony": "~2.4",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "~1.2",
"stof/doctrine-extensions-bundle":…

Vittore
- 240
- 3
- 15
0
votes
2 answers
where to write custom functions and how to import them?
here is my little story: I am using DoctrinExtensions Tree on my entity account. The user can edit the tree in the UI and then save it. I send back back to the PHP an array of all the accounts. Then I want to rebuilt it as a tree and save/edit the…

Eagle1
- 810
- 2
- 12
- 30
0
votes
1 answer
A2lixTranslationFormBundle with Stof DoctrineExtensionsBundle doesnt Show Any Tab
I'm new to Symfony and Sonata. After following the instructions i installed Translatable, but i dont get any Tab in the form.
Composer.json
"stof/doctrine-extensions-bundle": "1.1.x-dev",
"a2lix/translation-form-bundle":…

Miguel Galante
- 1,689
- 1
- 14
- 13
0
votes
1 answer
ContextErrorException when submit form with A2lix
For a multilingual form I use Gedmo Translatable combined with A2lix and I use personal translations, so for 1 entity I have 1 translation : Categ and CategTranslation.
To show the form everything is alright, but when I submit it I've this error…

Kev
- 171
- 2
- 19
0
votes
1 answer
StofDoctrineExtension Tree entity: get the id of the parent in twig
I'm using DoctrineExtensions Tree for my entity account.
I'm getting my results with the following:
$repo = $em->getRepository('NRtworksChartOfAccountsBundle:Accounttree');
$arrayTree = $repo->childrenHierarchy();
Entity Accounttree is the…

Eagle1
- 810
- 2
- 12
- 30