Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/illagrenan/nette-navigation-control
Control pro Nette Framework usnadňující tvorbu menu a drobečkové navigace
https://github.com/illagrenan/nette-navigation-control
Last synced: about 2 months ago
JSON representation
Control pro Nette Framework usnadňující tvorbu menu a drobečkové navigace
- Host: GitHub
- URL: https://github.com/illagrenan/nette-navigation-control
- Owner: illagrenan
- Fork: true (janmarek/Navigation)
- Created: 2013-03-16T17:18:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-04-06T23:20:36.000Z (over 11 years ago)
- Last Synced: 2024-04-24T16:04:40.547Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 193 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nette Navigation Control ([forknuto od janmarek/Navigation](https://github.com/janmarek/Navigation))
Control pro Nette Framework usnadňující tvorbu menu a drobečkové navigaceAutor: Jan Marek
Licence: MIT```json
{
"require": {
"illagrenan/nette-navigation-control": "dev-master"
}
}
```**Závislosti:**
* [illagrenan/nette-base-control](https://github.com/illagrenan/nette-base-control)## Použití
**Továrnička v presenteru:**
```php
httpRequest);$navigation->addHomepage("Přehled obsahu", "Homepage:default");
$navigation->addNode("Materiály", "Publishable:list");
$navigation->addNode("Diskuze", "Discussion:list");$administration = $navigation->addNode("Administrace", "Admin:default")
->addSpecialClass("special");$administration->addNode("Vytvořit obsah", "Admin:createPublishable");
$administration->addNode("Správa diskuzí", "Admin:manageDiscussion");
$administration->addNode("Správa tagů", "Admin:manageTags");return $navigation;
}
?>
```**Menu v šabloně:**
```html
{widget navigation}
```**Drobečková navigace v šabloně:**
```html
{widget navigation:breadcrumbs}
```