Yii2 navigation extension
Extension for managing everything related to navigation. Has widgets for display breadcrumbs with support microdata scheme, SEO tags, menus, title and text of the active page according to the given hierarchy. What unties all modules from each other necessary due to the possibility of dynamic customization.
For license information check the LICENSE-file.
English documentation is at docs/guide/README.md.
Русская документация здесь docs/guide-ru/README.md.
Installation ¶
The preferred way to install this extension is through composer.
Either run
php composer.phar require execut/yii2-navigation
or add
"execut/yii2-navigation": "dev-master"
to the require section of your composer.json
file.
Usage ¶
For example, the following few lines of code in a view file would render a common attributes of active page:
// head
echo \execut\navigation\widgets\Title::widget();
// body
echo \execut\navigation\widgets\Breadcrumbs::widget();
echo \execut\navigation\widgets\Header::widget();
echo \execut\navigation\widgets\Text::widget();
echo \execut\navigation\widgets\Time::widget();
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.