Discuss your project

Category

Partitech Sonata Extra Bundle

25 articles

Sonata Extra Bundle: application firewall

The SonataExtraBundle provides a set of enhanced features for managing firewall rules in the Sonata Admin environment. This bundle allows administrators to create and manage rules to filter requests based on different criteria such as forbidden words, IP addresses, and user agents.

Sonata Extra Bundle: managing HTTP redirects

Overview The header redirection tool is designed to manage redirections of incoming requests to your application. It allows the configuration of redirection rules with different HTTP status codes to effectively handle different redirection scenarios. Screens List view: Detailed view: Supported HTTP status codes 301 — permanent redirect: Indicates that the resource has been moved to a new URL permanently. 302 — temporary redirect: Indicates a temporary redirect to a different URL. 307 ...

Sonata Extra Bundle: activity log

Overview The activity log function of the Sonata Extra Bundle is designed to monitor and record all activities within the administration site. It provides a complete view of the actions performed, the resources involved, descriptions of the activities, and the users who carried them out. Features Display of the action type: Displays the type of action performed (for example, create, update, delete). Resource tracking: Identify the resource that was affected by the action. Action Description...

Sonata Extra Bundle: media library for CKEditor

Introduction An appropriate configuration of CKEditor is essential for its optimal functioning. This guide provides the steps to install a valid version of CKEditor and configure it to use the Media library in a Sonata project. Installation Resolution of invalid LTS license key error If you encounter the following error: [CKEDITOR] For more information about this error go to https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#invalid-lts-license-key Install the specified vers...

Sonata Extra Bundle: integrate the Gutenberg editor

Introduction Integrating the Gutenberg editor into Sonata involves using the 'Automatic Isolated block editor' library. This guide details the steps necessary to install and configure the Gutenberg editor in your Sonata application. Screens Library Installation The Gutenberg editor relies on a library of 'Automatic Isolated Block Editor'. You can download the library using the following link: Automatic isolated block editor library Installation steps Download and install the library ...

Sonata Extra Bundle: migrate a WordPress site

This guide provides a step-by-step process to migrate the content from your WordPress site to the Sonata Extra Bundle. Step 1: Content Import Start by importing your WordPress content using the following command bin/console sonata-extra:wordpress-importer --url https://www.domain.com --user wordpressUser --token "[APPLICATION_PASSWORD]" For detailed instructions on this command, refer to the dedicated guide: WordPress import order After executing this command, your WordPress categories, ta...

Sonata Extra Bundle: customize 404 and 500 errors

Introduction Customizing error pages (404 — page not found and 500 — internal server error) in your application can improve the user experience during unexpected situations. This guide will explain the process of setting up custom error pages in the SonataExtraBundle. Prerequisites Before continuing, there are a few important points to note: Development environment: Custom error pages do not appear in the development environment. To see them in action, you need to configure your application...

Sonata Extra Bundle: configure the Sonata Page layouts

Introduction Configuring Sonata Page layouts is a crucial step in creating a well-structured and visually appealing website. This guide will help you understand the process of configuring the layout in Sonata Page. Prerequisites Before continuing, make sure you have read the main SonataPage documentation: Read the SonataPage documentation Setup steps Step 1: define the configuration of your layout Start by defining your layout in a YAML configuration file. Here is an example: partitech_index...

Sonata Extra Bundle: import a WordPress site

Presentation of the order The order sonata-extra:wordpress-importer is designed to import images, categories, posts, and tags from a WordPress site into your application. It facilitates the transfer of WordPress content into the application. Syntax sonata-extra:wordpress-importer --url=[WORDPRESS_SITE_URL] --user=[USERNAME] --token="[TOKEN]" Settings --url: The URL of the WordPress site from which the content must be imported. --user: Your WordPress username. --token: The authentication to...

Sonata Extra Bundle: create an online command-line translation model

Overview PartitechSonataExtraBundle provides a convenient way to manage translations in Sonata Admin. This bundle includes two main commands: sonata:extra:translation-create-template and sonata:extra:translation-import-template. These commands facilitate the creation and import of translations, optimizing the process and integrating with an external translation service. Orders Order sonata:extra:translation-create-template Description This command prepares your content for translation. It cr...

Sonata Extra Bundle: batch translations online via command line

Sonata Extra Bundle exposes a translation API that delegates processing to a configurable provider. The application can thus translate a text into multiple languages while keeping the choice of provider at the configuration level. Understanding the translation API The translation API is a feature that leverages AI-powered translation services to provide automatic text translation. By integrating different translation providers, users can translate text into multiple languages without manual ...