Tagged Questions
0
votes
0answers
16 views
sonataNotificationBundle, emails getting stored to database but swiftmailer consumer is not triggered and no emails are sent
I have integrated sonataNotificationBundle, i configured backend to doctrine, emails are getting stored in database notification__message table but are not getting sent.
How do I send emails from ...
0
votes
1answer
20 views
Unrecognized options swift_mailer under sonata_notification.consumers error
I am trying to use sonataNotificationBundle, I did all configurations as mentioned in documentation, but I am getting following error,
Unrecognized options swift_mailer under ...
0
votes
3answers
164 views
The function “is_granted” does not exist in SonataAdminBundle symfony2 cmf
after installing Symfony2 cmf
http://symfony.com/doc/master/cmf/getting-started/installing-symfony-cmf.html
when I tried to view has admin / dashboard I have the following error
The function ...
1
vote
1answer
24 views
SonataAdmin - Choice field from non managed entity
Imagine a user who is linked to a company:
User
- id
- username
- company_id
The company list comes from a procedure call (external db), no hands on the related table
EXEC ...
2
votes
2answers
119 views
Symfony2 - Inject a service into SonataAdmin
I'd like to get a db connection from within a SonataAdmin class' configureFormFields()
For sure this doesn't work
protected function configureFormFields(FormMapper $formMapper)
{
$mycnx = ...
1
vote
1answer
25 views
Display items on dashboard according to user role
I'm new to Symfony2, and for the needs of my company I'm using Sonata Admin and User bundles.
I would like to know if it is possible to hide or show items on the dashboard according to the role of a ...
0
votes
2answers
756 views
Install SonataNewsBundle
I learn Symfony 2. I would like have example with SonataAdminBundle. I found:
http://sonata-project.org/bundles/news/2-0/doc/reference/installation.html
but this haven't first point.
i found:
...
1
vote
1answer
62 views
Sonata Media Bundle - How to write a custom image resizer
I'm using the Sonata Media Bundle and I need to code a specific behavior for the image resizer, because the default SimpleResizer and SquareResizer classes don't fit my needs.
I would like a simple ...
1
vote
1answer
21 views
Custom delete handling for an entity using SonataAdminBundle
I'd like to implement some custom delete handling. We've got some types of entity which only get marked as deleted in the database. The real removing from the database is done by a scheduled process.
...
0
votes
1answer
21 views
Can i use orm entites with SonataDoctrinePhpcrAdminBundle?
How to start using orm enites with Sonata-Admin-bundle if alredy use SonataDoctrinePhpcrAdminBundle ?
This is possible ?
my composer.json
"minimum-stability": "dev",
"require": {
"php": ...
0
votes
1answer
61 views
installing sonata page bundle
I have troubles while installing SonataPageBundle using composer.
I am using this tutorial for how to install SonataPageBundle.
I installed all the dependencies but when I type this "php ...
4
votes
1answer
454 views
Symfony2.1 SonataUserBundle ResourceBundle error
I have this problem with Symfony.
I now use SonataUserBundle and I have this error:
The locale resource bundle could not be loaded for locale "en"
(uncaught exception) at
...
-1
votes
0answers
32 views
Can't install sonata bundle
I work with symfony 2.2 and I am working on a project. I should show a progress by next week or I will get fired. I need someone who already worked with symfony 2.2 and SONATA bundle to guide me ...
3
votes
2answers
130 views
How to install SonataDoctrineMongoDBAdminBundle properly?
I am really getting nervous because of lacking of enough resource for installing SonataDoctrineMongoDBAdminBundle and it's dependencies like sonataUserBundle. I have been trying to install this bundle ...
0
votes
1answer
64 views
SonataUserBundle override form profile
I am using SonataUserBundle and I am trying to override the edit profile form, but I am not sure about the services.yml and the config.yml. Here is the code.
ProfileType.php
namespace ...