actiview / magento2-easy-routes-sample
Sample implementation for Actiview_EasyRoute
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:HTML
Type:magento2-module
pkg:composer/actiview/magento2-easy-routes-sample
Requires
- actiview/magento2-easy-routes: ^1.0
- magento/framework: 103.0.*
README
Sample implementation for Magento 2 module Actiview_EasyRoutes.
Installation
Install this package through Composer and then enable the module for Magento 2.
composer require actiview/magento2-easy-routes-sample bin/magento module:enable Actiview_EasyRoutesSample
Features
This module is a sample for an implementation of Actiview_EasyRoutes and doesn't provide any features.
Configuration
This sample configures one route with four translations in etc/frontend/di.xml:
- https://domain.tld/sample-page
- https://domain.tld/voorbeeldpagina
- https://domain.tld/page-d-exemple
- https://domain.tld/beispielseite
- https://domain.tld/pagina-de-muestra
Layout
The Actiview_EasyRoutes module adds a layout handle based on the custom route ID. In this sample the layout is added in view/frontend/layout/easy_routes_sample-page.xml.