Download the PHP package todomagichere/ibexa-breadcrumbs-bundle without Composer
On this page you can find all versions of the php package todomagichere/ibexa-breadcrumbs-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download todomagichere/ibexa-breadcrumbs-bundle
More information about todomagichere/ibexa-breadcrumbs-bundle
Files in todomagichere/ibexa-breadcrumbs-bundle
Package ibexa-breadcrumbs-bundle
Short Description This bundle provides a basic breadcrumbs system for ibexa cms
License MIT
Homepage https://infinitumdigital.net/
Informations about the package ibexa-breadcrumbs-bundle
Ibexa breadcrumbs bundle
This is the first version of ibexa breadcrumbs bundle. The intention of this bundle is to make easy the breadcrumb system implementation for the ibexa platform, previously known as ezplatform.
Installation instructions
From composer, run the following command:
composer require todomagichere/ibexa-breadcrumbs-bundle
To get the breadcrumb system up and running, it must be invoked from a twig template (usually a full view) with this function:
It should be noted that the location parameter is mandatory, since the way the breadcrumbs are generated is through their pathString
Configuration file
The point of this configuration file is to avoid a certain number of locations, passing the location id, or in the other hand manage the content types rejected, for example:
Twig template
Suppose we have the following content tree:
We can see that it is rendered as follows:
Overriding Twig template
To override the default template breadcrumbs.html.twig just create a new template (See default template behaviour for new implementation):
ezplatform/templates/bundles/IbexaBreadcrumbsBundle/breadcrumbs.html.twig