1. Go to this page and download the library: Download geniv/nette-breadcrumb library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
// add link
$this['breadCrumb']->addLink('Sub page');
// or
$this['breadCrumb']->addLink('Sub page', ['User:'])
// link with parameters
$this['breadCrumb']->addLink('Sub page', ['User:', 123, 321])
or
$this['breadCrumb']->addLink('Sub page', ['User:', 123, 321], 'fa fa-dashboard')
direct transalte title
$this['breadCrumb']->addTranslateLink('Sub page');
// edit link
$this['breadCrumb']->editLink('Sub page', ['User:'], 'fa fa-dashboard')
// link with parameters
$this['breadCrumb']->editLink('Sub page', ['User:', 123, 321], 'fa fa-dashboard')
direct transalte title
$this['breadCrumb']->editTranslateLink('Sub page');