admin-bundle | FSi Admin Bundle is complete solution | Web Framework library
kandi X-RAY | admin-bundle Summary
kandi X-RAY | admin-bundle Summary
FSi Admin Bundle is a complete solution that provides mechanisms to generate an admin panel for any Symfony2 (and 3) based application. Important - the bundle is not integrated with Symfony's security component. By default the path /admin is not protected and you need to secure it on your own. It's recommended to use FSiAdminSecurityBundle. Build Status: - Master - 2.1 - 2.0 - 1.0.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Registers annotated admin classes .
- Apply field formatters .
- It adds the actions to the form .
- Get the config tree builder .
- Transforms the page name .
- Remove empty menus
- Initializes the action route and parameters based on the element id .
- It is used to handle POST requests .
- Build news data source .
- Build the news grid .
admin-bundle Key Features
admin-bundle Examples and Code Snippets
Community Discussions
Trending Discussions on admin-bundle
QUESTION
I am trying to set up a simple CMS using Sonata Admin Bundle. I use composer to add sonata-project/admin-bundle
and sonata-project/doctrine-orm-admin-bundle
to an empty git repository, then follow the rest of the directions on https://sonata-project.org/bundles/admin/3-x/doc/getting_started/installation.html
Now I visit http://localhost/admin/dashboard
, which the instructions say should give me a blank dashboard. Instead, I get a ServiceNotFoundException, stating:
The service "sonata.admin.menu.group_provider" has a dependency on a non-existent service "security.authorization_checker".
Is there a bundle or configuration that I need to install/add in order to fix this?
===
When I run bin/console debug:container security.authorization_checker
I get the following output:
In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
The service "sonata.admin.menu.group_provider" has a dependency on a non-existent service "secur ity.authorization_checker".
===
Here is config/packages/sonata_admin.yaml:
...ANSWER
Answered 2021-May-23 at 04:20You need to install symfony security. And maybe flex, if you don't already have it.
QUESTION
I'm triying to install the user bundle from symfony sonata with:
composer require sonata-project/user-bundle
following the documentation in:
https://sonata-project.org/bundles/user/4-x/doc/reference/installation.html
but it always bring me the error
...ANSWER
Answered 2021-Mar-19 at 16:32Just you need to add this configuration to your config file, go to this path app/config/config.yml
and then add this lines to the end of your config.yml
file
QUESTION
Recently i update a 3.4 symfony project to 4.4 and i try to clean all the new deprecations but i can't find a way to change this one from the admin-bundle. I extend the
protected $perPageOptions = [16, 32, 64, 128, 256];
property that you can find in the
vendor/sonata-project/admin-bundle/src/Admin/AbstractAdmin.php
and add in some of my pages extra options. How i can do that in this new versions. Is a work around or they just stop use it and need to make it on your own? I don't find anywhere any suggestion on this topic.
...ANSWER
Answered 2020-Dec-16 at 23:46It looks like you will instead need to redefine the getPerPageOptions
method, see below from https://github.com/sonata-project/SonataAdminBundle/blob/3.x/src/Admin/AbstractAdmin.php#L2550
QUESTION
My website is down since composer update
. The issue seems not on the updated packages themselves (I run them in dev environment without problems, too). It seems that 'only' the cache cannot clean itself correctly.
ANSWER
Answered 2020-Dec-12 at 19:57When switching between environments I sometimes have to delete the cache folders manually.
When this happens, I usually do:
QUESTION
I started a new project in Symfony 5 and i tried to install EasyAdmin with composer require easycorp/easyadmin-bundle
but I found an issue.
Composer log :
...ANSWER
Answered 2020-Aug-26 at 05:43As you can see in that list of error messages: easycorp/easyadmin-bundle
requires doctrine/common
in v2, while you have already installed v3.
You should downgrade that package such that the admin bundle can be installed. If you need help with that, please add the content of composer.json
to your question.
QUESTION
I migrated my application from symfony 2.8 to symfony 3.4.
In Web,it works perfectly. But when i launched functional tests, I had the following results:
...ANSWER
Answered 2020-Aug-27 at 09:55Finally I found the solution.
So, following the migration from Symfony 2.8 to symfony 3.4, you have to move the bootstrap.php.cache file from the "app" folder to the "var" folder and so, you have to modify the path of this file in the phpunit.xml configuration.
QUESTION
The last composer update completely broken my project based on Symfony5:
php.CRITICAL: Uncaught Error: Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry or null, instance of Doctrine\Bundle\DoctrineBundle\Registry given
I've already updated all the references of Doctrine\Bundle\DoctrineBundle\Registry to Doctrine\Common\Persistence\ManagerRegistry a long time ago, according to the Symfony documentation
Any help would be appreciated
List of installed packages:
...ANSWER
Answered 2020-Aug-25 at 10:58- Update Php Version on your system to 7.4
- Run composer upgrade
QUESTION
I installed symfony 4.4 full, and then tried to install sonata-project/doctrine-orm-admin-bundle. Out of the box, this doesn't work. can someone please explain this?
I got the same error using symfony 5.
...ANSWER
Answered 2020-Aug-21 at 06:44use composer require "sonata-project/admin-bundle:^3.56" "twig/twig:^2.10"
QUESTION
I'm using the following command: composer requires sonata-project/admin-bundle but it is installing the latest version of sonata which is not compatible with Symfony 3.4 i am getting the following: Problem 1 - Installation request for sonata-project/admin-bundle ^3.73 -> satisfiable by sonata-project/admin-bundle[3.73.0]. - sonata-project/admin-bundle 3.73.0 requires symfony/asset ^4.4 -> no matching package found.
How can I fix that? a way to choose which sonata version i want to install.
...ANSWER
Answered 2020-Aug-20 at 15:01Use the following command to install the chosen version:
composer requires sonata-project/admin-bundle:3.x
QUESTION
I am currently working on a website and I have to use Sonata Admin for the back office. I am upgrading the project from symfony 3 to symfony 4 and I have a problem when I try to filter the instantiated entities.
I configured a filter that way :
...ANSWER
Answered 2020-Jun-11 at 09:07If I understand the problem correct, you want to filter the entities based on the field of the same entity?
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install admin-bundle
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page