597 search results

…that side menu. Please, follow the instructions in the previous chapters, you can find them in the note: https://symfonycasts.com/screencast/easyadminbundle/dashboard - look for "Since version 4.0.3 of EasyAdmin" text there. I hope this helps! If not - let us know! Cheers!
…Create a template inside `templates/` directory with name `dashboard.html.twig` and put inside following content ``` {% extends '@EasyAdmin/page/content.html.twig' %} {% block content_title %}Dashboard{% endblock %} ``` Now in `src/Controller/Admin/DashboardController.php` change `index()` this way ``` public function index(): Response { return $this->render…
…create own template: (From docs: https://symfony.com/bundles/EasyAdminBundle/current/dashboards.html#content-page-template) {# templates/admin/my-custom-page.html.twig #} {% extends '@EasyAdmin/page/content.html.twig' %} {% block content_title %}The Title of the Page{% endblock %} {% block page_actions %} Some Action {% endblock %} {% block…
…for new courses! Is there a place on this site where we can follow which courses are being released in the near future? I know the next one will be EasyAdmin. But i'm really curious for the other *top secret* plans that you have.
lexhartman
lexhartman
Read Full Comment
…is triggered, as expected, on an API call. The same via EasyAdmin. But not when I create a new object and write it to the database using Doctrine Eventmanager. Then the validator is not called. Is that the way it is supposed to be? Or…
Christian H.
Christian H.
Read Full Comment
…a separate user provider, firewall, routes and login form. Also, this application uses EasyAdmin, fyi. Is this possible to have two separate logins for authentication processed in the same application? So far, submitting the 'employee' login form doesn't submit any form data to anywhere…
…or any other page he tried to access) after the login - if user 2 is an admin (has ROLE_ADMIN), then I want him to be redirected to the /admin (easyadmin) part of the website, not the homepage or any other page This being said…
…y You *probably* do "really need to create a FormType for it"... but avoiding it may be possible. When you render a form page in EasyAdmin, the form class is actually this one - https://github.com/EasyCorp/EasyAdminBundle/blob/1.x/src/Form/Type/EasyAdminFormType…
weaverryan
weaverryan
Read Full Comment
…I press it, I have a 500 error that I am not sure how to overcome. The error says: Variable "form" does not exist in vendor/easycorp/easyadmin-bundle/src/Resources/views/default/new.html.twig (line 1) Any idea on what might cause it?
Alessandro-D
Alessandro-D
Read Full Comment
…need to create a recipe for your bundle. Recipe is just a set of instructions, you can see the same EasyAdminBundle as example: https://github.com/symfony/recipes/tree/master/easycorp/easyadmin-bundle . But that's the official recipe, your recipe should be in https:…
…add when you require this package: https://github.com/symfony/recipes/blob/master/easycorp/easyadmin-bundle/2.0/config/routes/easy_admin.yaml - i.e. Flex just copy/paste the easy_admin.yaml file with routes into "config/routes/easy_admin.yaml" in your project…
…have those custom data. So i tried submiting using your 'custom action' (genus_feed) and i don't have any data at all... Is there a way to 'customize' the basic EasyAdmin insertEntity so i can there use my custom data fields ? thanks again :D
…to update the user 1 with the email from another user. I also saw in this link from symfony how to integrate FOSUserBundle with EasyAdmin (https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/fosuserbundle.html) and I added this next controller but nothing changes apparently.…
…doctrine/doctrine-cache-bundle": "^1.3", "doctrine/doctrine-fixtures-bundle": "^2.4", "doctrine/doctrine-migrations-bundle": "^1.2", "doctrine/orm": "^2.5", "easycorp/easyadmin-bundle": "^1.17", "egeloen/ckeditor-bundle": "^6.0", "friendsofsymfony/jsrouting-bundle": "^1.6", "friendsofsymfony/user-bundle": "^2.0", "gedmo/doctrine-extensions"…
…ve googled this problem, and it happens when you do not have a __toString() method in your entity, but I do have that. Do you have any clue why this may happen? My code in config.yml: "- { property: 'createdBy', type: 'easyadmin_autocomplete' }" Best regards, Dennis
Dennis E.
Dennis E.
Read Full Comment
…But still getting the following error: " Unknown "filter_admin_actions" filter in easy_admin/list.html.twig at line 4." And if i take a look at file: easy_admin/list.html.twig it looks like: ``` {% extends '@EasyAdmin/default/list.html.twig' %} {% block item_actions …
…tutorial and the relation is already set up. Maybe I did not express myself well, but I am only concerned about how to make it look like a many to many in easyadmin's backend entity. For now, it only tries to list joinTable entities…
Riccardo Previti
Riccardo Previti
Read Full Comment
…create a new Post, I select one or many tags. If a tag is missing I can create a new tag in a modal without leaving the post form. Pretty easy to setup in sonata, is there a trick to do the same in easyAdmin ?
Geoffrey M.
Geoffrey M.
Read Full Comment
…but chrome console is shows errors that files are not found GET /bundles/easyadmin/javascript/easyadmin-all.min.js GET /bundles/easyadmin/stylesheet/easyadmin-all.min.css GET /http://knp2.local/bundles/easyadmin/javascript/easyadmin-all.min.js I have checked and they are there...…
Mykyta Popov
Mykyta Popov
Read Full Comment
…symlink, i.e. run just "php bin/console assets:install", but first of all clear the both prod and dev cache. Does it fix your problem? Are you sure you have "web/bundles/easyadmin/stylesheet/easyadmin-all.min.css" file exist in this path? Cheers!