Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

Navigation
==========
Control pro Nette Framework usnadňující tvorbu menu a drobečkové navigace
Autor: Jan Marek
Licence: MIT
Použití
-------
Továrnička v presenteru:
protected function createComponentNavigation($name) {
$nav = new Navigation($this, $name);
$nav->setupHomepage("Úvod", $this->link("Homepage:"));
$sec = $nav->add("Sekce", $this->link("Category:", array("id" => 1)));
$article = $sec->add("Článek", $this->link("Article:", array("id" => 1)));
$nav->setCurrentNode($article);
// or $article->setCurrent(TRUE);
}
Menu v šabloně:
{widget navigation}
Drobečková navigace v šabloně:
{widget navigation:breadcrumbs}

About

Control pro Nette Framework usnadňující tvorbu menu a drobečkové navigace

Resources

Stars

20 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages