Skip to content

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

Notifications You must be signed in to change notification settings

janmarek/Navigation

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages