Section partitech-sonata-extra-bundle

Partitech Sonata Extra Bundle : AsAdmin() attribute

Écrit par gbourdin le 25/11/2023
Tags :  
SonataExtra AsAdmin() attribute Thanks to php attributes; exit the old 15kms long services.yaml config file with a quick per class configuration. old type was : app.admin.article: class: App\Admin\MyEntityAdmin arguments: [~, App\Entity\MyEntity, ~] tags: - { name: sonata.admin, manager_type: orm, label: "My Entity Admin" } calls: - [ setTranslationDomain, [partitech]] Thanks to autowiring "Arguments" is no more needed. here is a basic AsAdm...

Partitech Sonata Extra Bundle : Approval worfklow

Écrit par tbourdin le 25/11/2023
Tags :  
Overview The SonataExtra Approval Workflow is designed to log all actions within the admin site, providing a comprehensive overview of activities, resources involved, descriptions, and users. This feature ensures that actions are logged but not applied immediately. Instead, they require validation by a user with the ROLE_APPROVE permission. Features Action Logging: Logs every action but does not apply changes instantly. Role-Based Approval: Actions need approval from a user with ROLE_APP...

Partitech Sonata Extra Bundle

Écrit par tbourdin le 25/11/2023
Tags :  
The Partitech Sonata Extra bundle enhances your Symfony Sonata and Symfony Sonata Page experience by providing a rich set of additional functionalities. Features Installation System Requirements Setup Guide User Guide Getting Started Advanced Features Configuration Troubleshooting FAQ Contact and Support How to Layout setup: read the doc Customize 404 and 500 pages: read the doc Brought to you by partITech Enhance your digital experience with partITech. We speci...

Partitech Sonata Extra Bundle : Features

Écrit par tbourdin le 25/11/2023
Tags :  
AsAdmin() php attribute configuration Add another configuration type directly in the Admin class Documentation : as-admin-attribute.md Code Preview: Activity Log in Admin The Activity Log feature in the Sonata Extra Bundle is designed to monitor and log all activities within the admin site. It provides a comprehensive view of actions taken, resources involved, descriptions of activities, and the users who performed them. Action Type Display: Shows the type of action performed (e.g., ...

Partitech Sonata Extra Bundle : Installation

Écrit par tbourdin le 25/11/2023
Tags :  
Installation composer require partitech/sonata-extra Register the bundle in your bundles.php: Partitech\SonataExtra\PartitechSonataExtraBundle::class => ['all' => true], Intall assets for sonata page frontend {% block sonata_page_stylesheets %} <link rel="stylesheet" href="{{ asset('bundles/sonatapage/frontend.css') }}" media="all"> <link rel="stylesheet" href="{{ asset('bundles/partitechsonataextra/assets/styles/admin.css') }}" media="all"> {% endblock %} {% bl...