Download the PHP package rosgear/rg-wd-breadcrumbs without Composer
On this page you can find all versions of the php package rosgear/rg-wd-breadcrumbs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rosgear/rg-wd-breadcrumbs
More information about rosgear/rg-wd-breadcrumbs
Files in rosgear/rg-wd-breadcrumbs
Package rg-wd-breadcrumbs
Short Description Widget "Breadcrumbs" for the RosGear web application
License MIT
Homepage https://rosgear.ru/component/rg-wd-breadcrumbs/
Informations about the package rg-wd-breadcrumbs
English
Виджет «Навигационная цепочка»
Виджет «Хлебные крошки» (breadcrumb‑навигация) предназначен для визуализации пути к текущей странице в виде последовательности ссылок, отражающих её положение в иерархической структуре веб‑сайта.
Например, структура вида «Главная / Категория / Статья», где «Статья» выступает в качестве активного элемента, обозначающего текущую страницу, а все предшествующие элементы представлены в виде гиперссылок.
Для использования, необходимо указать параметр «links» в конфигурации виджета. Пример:
Пример применения
с менеджером виджетов:
в шаблоне:
с namespace:
если namespace ранее не добавлен в PSR, необходимо выполнить:
Установка
Для добавления виджета в ваш проект, вы можете просто выполнить команду ниже:
или добавить в файл composer.json вашего проекта:
или скачать архив на странице виджета в каталоге приложений RosGear.
После добавления виджета в проект выполните его установку в редакцию веб‑приложения с помощью Панели управления GePanel.
Widget «Breadcrumbs»
The Breadcrumb navigation widget is designed to visualize the path to the current page as a sequence of links reflecting its position in the hierarchical structure of the website.
For example, a structure like «Home / Category / Article», where «Article» acts as the active element denoting the current page, and all previous elements are presented as hyperlinks.
Installation
To add the widget to your project, you can simply run the command below:
or add to your project's composer.json file:
or download the archive from the widget page in the RosGear application catalog.
After adding the widget to the project, install it into the web application edition using the GePanel Control Panel.