Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ The good example explains what the tool does and why it matters. The bad example
- Break complex topics into digestible sections
- Use code examples liberally – they're often clearer than prose
- End sections with "What's Next" links when appropriate
- Put the `{{maintitle}}` and `{{description}}` directives at the very end of the page, in this order, after a blank line

## Mandatory Self-Review After Every Change

Expand Down
2 changes: 2 additions & 0 deletions ai/cs/mcp-inspector.texy
Original file line number Diff line number Diff line change
Expand Up @@ -324,3 +324,5 @@ AI teď může volat `blog_get_post` jako kterýkoli vestavěný nástroj. Vyzko

{{composer: nette/mcp-inspector}}
{{repo: nette/mcp-inspector}}
{{maintitle: Nette MCP Inspector: AI vidí přímo do vaší aplikace}}
{{description: MCP Inspector umožní AI asistentovi podívat se přímo do vaší Nette aplikace: služby v DI kontejneru, databázové tabulky, routy a logy Tracy. Žádné hádání.}}
1 change: 1 addition & 0 deletions ai/cs/vibe-coding.texy
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,5 @@ A pamatujte: AI je váš asistent. Vývojář jste pořád vy. Vy rozhodujete, v

Hodně zdaru!

{{maintitle: Vibe coding v PHP s Nette: prompty a osvědčené postupy}}
{{description: Praktické rady pro vibe coding v PHP s Nette: jak psát prompty, které fungují, jak využít MCP Inspector, osvědčené postupy a čeho se vyvarovat.}}
2 changes: 2 additions & 0 deletions ai/en/agent-plugins.texy
Original file line number Diff line number Diff line change
Expand Up @@ -473,3 +473,5 @@ Privacy
The plugins collect no data. They run locally and have no servers, telemetry or analytics. See the [privacy policy |privacy-policy] for details.

{{repo: nette/agent-plugins}}
{{maintitle: Nette Plugins for Claude Code and Codex: AI Agent Skills}}
{{description: Give Claude Code and Codex deep knowledge of Nette. Instead of generic PHP advice, you get recommendations that follow Nette conventions.}}
1 change: 1 addition & 0 deletions ai/en/getting-started.texy
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,5 @@ You're now ready for AI-assisted Nette development! Here's where to go from here
- [Agent Plugins |agent-plugins] - Explore all the skills (Claude Code and Codex users)
- [Vibe Coding in Practice |vibe-coding] - Get the most out of your AI assistant

{{maintitle: Vibe Coding with Nette: Getting Started with Claude Code}}
{{description: Set up vibe coding with Nette in about ten minutes: install Claude Code, add the Nette plugin, and connect MCP Inspector to your application.}}
2 changes: 2 additions & 0 deletions ai/en/mcp-inspector.texy
Original file line number Diff line number Diff line change
Expand Up @@ -324,3 +324,5 @@ The AI can now call `blog_get_post` like any built-in tool. Try it first from th

{{composer: nette/mcp-inspector}}
{{repo: nette/mcp-inspector}}
{{maintitle: Nette MCP Inspector: Let AI See Inside Your Application}}
{{description: MCP Inspector lets an AI assistant look directly into your Nette application: DI services, database tables, routes and Tracy logs, instead of guessing.}}
1 change: 1 addition & 0 deletions ai/en/privacy-policy.texy
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ Contact

The plugins are maintained by David Grudl and the Nette Foundation. If you have a question about this policy or about the plugins, please open an issue at "github.com/nette/agent-plugins":https://github.com/nette/agent-plugins/issues.

{{maintitle: Privacy Policy for Nette Agent Plugins}}
{{description: The Nette plugins for Claude Code and Codex collect no data. They run locally and have no servers, telemetry or analytics.}}
1 change: 1 addition & 0 deletions ai/en/vibe-coding.texy
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,5 @@ And remember: the AI is your assistant. You're still the developer. You make the

Happy coding!

{{maintitle: Vibe Coding in PHP with Nette: Prompts and Best Workflows}}
{{description: Practical advice for vibe coding in PHP with Nette: writing prompts that work, using MCP Inspector well, proven workflows, and mistakes to avoid.}}
3 changes: 3 additions & 0 deletions application/cs/@home.texy
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,6 @@ Kompatibilita s PHP
| Nette Application 2.4 | PHP 5.6 - 8.0

Platí pro poslední patch verze.

{{maintitle: Nette Application: PHP framework pro webové aplikace}}
{{description: Jádro frameworku Nette: obousměrný router, presentery, znovupoužitelné komponenty se signály a bezpečné šablony Latte pro moderní webové aplikace.}}
5 changes: 4 additions & 1 deletion application/cs/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ OK
{control productGrid}

nebude fungovat:
{control productGrid $arg, $arg}
{control productGrid, $arg, $arg}
{control productGrid:paginator}
```

Expand Down Expand Up @@ -263,3 +263,6 @@ Další četba
===========

- [Dynamické snippety |best-practices:dynamic-snippets]

{{maintitle: AJAX a snippety v Nette: překreslení části stránky}}
{{description: Překreslete jen to, co se změnilo, bez načtení celé stránky: snippety v šablonách Latte, AJAXové požadavky s knihovnou Naja a předávání parametrů z prohlížeče.}}
3 changes: 3 additions & 0 deletions application/cs/bootstrapping.texy
Original file line number Diff line number Diff line change
Expand Up @@ -310,3 +310,6 @@ public function bootConsoleApplication(): Nette\DI\Container
return $this->configurator->createContainer();
}
```

{{maintitle: Bootstrapping aplikace v Nette: od index.php po DI kontejner}}
{{description: Jak se aplikace v Nette spouští: od index.php a třídy Configurator přes vývojářský režim, Tracy a dočasné soubory až po konfiguraci v NEON.}}
13 changes: 8 additions & 5 deletions application/cs/components.texy
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function render(): void
Značka `{control}` umožňuje do metody `render()` předat parametry:

```latte
{control poll $id, $message}
{control poll, $id, $message}
```

```php .{file:PollControl.php}
Expand Down Expand Up @@ -136,7 +136,7 @@ Pro lepší pochopení je dobré vědět, jak se tato značka přeloží do PHP.

```latte
{control poll}
{control poll:paginator 123, 'hello'}
{control poll:paginator, 123, 'hello'}
```

se přeloží jako:
Expand Down Expand Up @@ -200,7 +200,7 @@ public function handleClick(int $x, int $y): void
Odkaz, který zavolá signál, vytvoříme obvyklým způsobem, tedy v šabloně atributem `n:href` nebo značkou `{link}`, v kódu metodou `link()`. Více v kapitole [Vytváření odkazů URL |creating-links#Odkazy na signál].

```latte
<a n:href="click! $x, $y">click here</a>
<a n:href="click!, $x, $y">click here</a>
```

Signál se vždy volá na aktuálním presenteru a akci, není možné jej vyvolat na jiném presenteru nebo jiné akci.
Expand Down Expand Up @@ -281,13 +281,13 @@ U property doporučujeme uvádět i datový typ (např. `int`) a můžete uvést
Při vytváření odkazu lze persistentnímu parametru změnit hodnotu:

```latte
<a n:href="this page: $page + 1">next</a>
<a n:href="this, page: $page + 1">next</a>
```

Nebo jej lze *vyresetovat*, tj. odstranit z URL. Pak bude nabývat svou výchozí hodnotu:

```latte
<a n:href="this page: null">reset</a>
<a n:href="this, page: null">reset</a>
```


Expand Down Expand Up @@ -502,3 +502,6 @@ if ($this->isSignalReceiver($this, 'paging') || $this->isSignalReceiver($this, '
```

Tím je signál provedený předčasně a už se nebude znovu volat.

{{maintitle: Interaktivní komponenty v Nette: signály a AJAX}}
{{description: Formulář, datagrid nebo anketu napíšete jednou a použijete kdekoliv. Tovární metody, vykreslení, signály, AJAX, flash zprávy a persistentní parametry.}}
3 changes: 3 additions & 0 deletions application/cs/configuration.texy
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,6 @@ Tyto služby se přidávají do DI kontejneru:
| `routing.router` | [api:Nette\Routing\Router] | směrovač
| `latte.latteFactory` | [api:Nette\Bridges\ApplicationLatte\LatteFactory] | továrna objektu `Latte\Engine`
| `latte.templateFactory` | [api:Nette\Application\UI\TemplateFactory] | továrna pro [`$this->template` |templates]

{{maintitle: Konfigurace Nette Application: volby v NEON}}
{{description: Konfigurace Nette Application v NEON: error presenter, mapování presenterů, šablony Latte, routování, konstanty, nastavení PHP a služby DI.}}
9 changes: 6 additions & 3 deletions application/cs/creating-links.texy
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ Všimněte si, že místo HTML atributu `href` jsme použili [n:atribut |latte:s
Kliknutí na odkaz je, zjednodušeně řečeno, něco jako zavolání metody `ProductPresenter::renderShow()`. A pokud má ve své signatuře parametry, můžeme ji volat s argumenty:

```latte
<a n:href="Product:show $product->id, $product->slug">detail produktu</a>
<a n:href="Product:show, $product->id, $product->slug">detail produktu</a>
```

Je možné předávat i pojmenované parametry. Následující odkaz předává parametr `lang` s hodnotou `cs`:

```latte
<a n:href="Product:show $product->id, lang: cs">detail produktu</a>
<a n:href="Product:show, $product->id, lang: cs">detail produktu</a>
```

Pokud metoda `ProductPresenter::renderShow()` nemá `$lang` ve své signatuře, může si hodnotu parametru zjistit pomocí `$lang = $this->getParameter('lang')` nebo z [property |presenters#Parametry požadavku].
Expand Down Expand Up @@ -162,7 +162,7 @@ Zároveň se přenáší i všechny parametry uvedené v signatuře metody `acti
Samozřejmě je možné parametry uvést přímo:

```latte
<a n:href="this refresh: 1">refresh</a>
<a n:href="this, refresh: 1">refresh</a>
```

Funkce `isLinkCurrent()` zjišťuje, zda je cíl odkazu shodný s aktuální stránkou. Toho lze využít například v šabloně k odlišení odkazů apod.
Expand Down Expand Up @@ -317,3 +317,6 @@ LinkGenerator je služba, kterou si můžete nechat předat přes konstruktor a
Oproti presenterům je tu rozdíl. LinkGenerator vytváří všechny odkazy rovnou jako absolutní URL. A dále neexistuje žádný "aktuální presenter", takže nelze jako cíl uvést jen název akce `link('default')` nebo uvádět relativní cesty k modulům.

Neplatné odkazy vždy vyhazují `Nette\Application\UI\InvalidLinkException`.

{{maintitle: Odkazy v Nette: šablony, presentery a LinkGenerator}}
{{description: Odkazy na presentery, akce a signály pomocí n:href a link(), zvýraznění aktuální stránky v menu, odhalení neplatných odkazů a generování URL mimo presenter.}}
3 changes: 3 additions & 0 deletions application/cs/directory-structure.texy
Original file line number Diff line number Diff line change
Expand Up @@ -524,3 +524,6 @@ application:
*: [App\Presentation, *, **Presenter]
Api: [App\Api, '', *Presenter]
```

{{maintitle: Adresářová struktura projektu v Nette: jak uspořádat kód}}
{{description: Přehledná a škálovatelná adresářová struktura projektů v Nette: kam patří presentery, šablony, model a infrastrukturní kód a jak funguje mapování presenterů.}}
5 changes: 4 additions & 1 deletion application/cs/how-it-works.texy
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Když už přišla řeč na šablony, v Nette se používá šablonovací systé
V šabloně se [vytvářejí odkazy |creating-links] na další presentery a akce takto:

```latte
<a n:href="Product:show $productId">detail produktu</a>
<a n:href="Product:show, $productId">detail produktu</a>
```

Prostě místo reálného URL napíšete známý pár `Presenter:action` a uvedete případné parametry. Trik je v tom `n:href`, které říká, že tento atribut zpracuje Nette. A vygeneruje:
Expand Down Expand Up @@ -198,3 +198,6 @@ Prošli jsme si základní principy aplikací v Nette. Zatím velmi povrchně, a
Kromě výše popsaného disponuje Nette celým arzenálem [užitečných tříd|utils:], [databázovou vrstvou|database:], atd. Zkuste si schválně jen tak proklikat dokumentaci. Nebo [blog|https://blog.nette.org]. Objevíte spoustu zajímavého.

Ať vám framework přináší spoustu radosti 💙

{{maintitle: Jak fungují aplikace v Nette: od požadavku k odpovědi}}
{{description: Základní kapitola dokumentace Nette: krok za krokem sledujete cestu webové aplikace od HTTP požadavku přes router a presenter až po vykreslení šablony.}}
3 changes: 3 additions & 0 deletions application/cs/multiplier.texy
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ protected function createComponentShopForm(): Multiplier
});
}
```

{{maintitle: Multiplier v Nette: dynamické vytváření komponent}}
{{description: Potřebujete u každého produktu formulář Přidat do košíku? Multiplier vytvoří tolik samostatných komponent, kolik je třeba, takže každá položka má tu svou.}}
11 changes: 7 additions & 4 deletions application/cs/presenters.texy
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ $url = $this->link('Product:show', [$id, 'lang' => 'cs']);
V šabloně se vytvářejí odkazy na další presentery a akce tímto způsobem:

```latte
<a n:href="Product:show $id">detail produktu</a>
<a n:href="Product:show, $id">detail produktu</a>
```

Prostě místo reálného URL napíšete známý pár `Presenter:action` a uvedete případné parametry. Trik je v tom `n:href`, které říká, že tento atribut zpracuje Latte a vygeneruje reálné URL. V Nette tak vůbec nemusíte uvažovat nad URL, jen nad presentery a akcemi.
Expand Down Expand Up @@ -282,7 +282,7 @@ U property doporučujeme uvádět i datový typ (např. `string`) a Nette podle
Při vytváření odkazu lze parametrům hodnotu přímo nastavit:

```latte
<a n:href="Home:default theme: dark">click</a>
<a n:href="Home:default, theme: dark">click</a>
```


Expand Down Expand Up @@ -330,13 +330,13 @@ class ProductPresenter extends Nette\Application\UI\Presenter
Při vytváření odkazu lze persistentnímu parametru změnit hodnotu:

```latte
<a n:href="Product:show $id, lang: cs">detail v češtině</a>
<a n:href="Product:show, $id, lang: cs">detail v češtině</a>
```

Nebo jej lze *vyresetovat*, tj. odstranit z URL. Pak bude nabývat svou výchozí hodnotu:

```latte
<a n:href="Product:show $id, lang: null">klikni</a>
<a n:href="Product:show, $id, lang: null">klikni</a>
```


Expand Down Expand Up @@ -593,3 +593,6 @@ Další četba
- [Skládání presenterů z trait |best-practices:presenter-traits]
- [Předání nastavení do presenterů |best-practices:passing-settings-to-presenters]
- [Jak se vrátit k dřívější stránce |best-practices:restore-request]

{{maintitle: Presentery v Nette: životní cyklus, akce a parametry}}
{{description: Jak presenter v Nette zpracuje požadavek, od životního cyklu a vykreslení šablony přes přesměrování a chybové stránky po JSON a persistentní parametry.}}
2 changes: 2 additions & 0 deletions application/cs/routing.texy
Original file line number Diff line number Diff line change
Expand Up @@ -747,3 +747,5 @@ $url = $router->constructUrl($params, $httpRequest->getUrl());
{{composer: nette/routing}}
{{repo: nette/routing}}
{{api: https://api.nette.org/routing/}}
{{maintitle: Routování v PHP s Nette: hezké URL a SEO}}
{{description: Všechny URL definujete na jednom místě a kdykoliv je změníte bez zásahu do šablon. Masky rout, automatická kanonizace, vlastní router i samostatné použití.}}
3 changes: 3 additions & 0 deletions application/cs/templates.texy
Original file line number Diff line number Diff line change
Expand Up @@ -417,3 +417,6 @@ protected function beforeRender(): void
```

Statickým textem je myšleno třeba `{_'hello'}` nebo `{translate}hello{/translate}`. Nestatické texty, jako třeba `{_$foo}`, se nadále budou překládat za běhu.

{{maintitle: Šablony v Nette: jak presentery používají Latte}}
{{description: Jak presentery v Nette pracují se šablonami Latte: hledání šablon a layoutu, proměnné, typově bezpečné šablony, odkazy, vlastní filtry a tagy, překlady.}}
3 changes: 3 additions & 0 deletions application/cs/upgrading.texy
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ Upgrade na verzi 2.3
- routy a názvy presenterů jsou **case-sensitive**. Nette vás upozorní, pokud v názvu presenteru použijete špatnou velikost písmen; masku routy z výkonnostních důvodů nekontroluje, ověřte si ji tedy ručně.
- `Route::addStyle()` a `Route::setStyleProperty()` jsou zastaralé a nyní vyvolají `E_USER_DEPRECATED`.
- přípona šablony `.phtml` a stará syntaxe odkazů se již nepodporují.

{{maintitle: Upgrade Nette Application: změny v jednotlivých verzích}}
{{description: Co se změnilo v Nette Application 3.0, 2.4 a 2.3 a jak upravit kód: typehinty, rozhraní routeru, same-origin kontrola signálů a další.}}
2 changes: 1 addition & 1 deletion application/de/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ OK
{control productGrid}

funktioniert nicht:
{control productGrid $arg, $arg}
{control productGrid, $arg, $arg}
{control productGrid:paginator}
```

Expand Down
10 changes: 5 additions & 5 deletions application/de/components.texy
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function render(): void
Der Tag `{control}` erlaubt es, der Methode `render()` Parameter zu übergeben:

```latte
{control poll $id, $message}
{control poll, $id, $message}
```

```php .{file:PollControl.php}
Expand Down Expand Up @@ -136,7 +136,7 @@ Zum besseren Verständnis ist es gut zu wissen, wie sich dieser Tag in PHP-Code

```latte
{control poll}
{control poll:paginator 123, 'hello'}
{control poll:paginator, 123, 'hello'}
```

übersetzt sich zu:
Expand Down Expand Up @@ -200,7 +200,7 @@ public function handleClick(int $x, int $y): void
Einen Link, der ein Signal aufruft, erstellt man auf die übliche Weise, also im Template mit dem Attribut `n:href` oder dem Tag `{link}`, im Code mit der Methode `link()`. Mehr im Kapitel [Erstellen von URL-Links |creating-links#Links auf Signale].

```latte
<a n:href="click! $x, $y">hier klicken</a>
<a n:href="click!, $x, $y">hier klicken</a>
```

Ein Signal wird immer auf dem aktuellen Presenter und der aktuellen Aktion aufgerufen; es lässt sich nicht auf einem anderen Presenter oder einer anderen Aktion auslösen.
Expand Down Expand Up @@ -281,13 +281,13 @@ Wir empfehlen, für die Property den Datentyp anzugeben (z. B. `int`), und Sie k
Beim Erstellen eines Links lässt sich der Wert eines persistenten Parameters ändern:

```latte
<a n:href="this page: $page + 1">weiter</a>
<a n:href="this, page: $page + 1">weiter</a>
```

Oder er lässt sich *zurücksetzen*, also aus der URL entfernen. Er nimmt dann seinen Standardwert an:

```latte
<a n:href="this page: null">zurücksetzen</a>
<a n:href="this, page: null">zurücksetzen</a>
```


Expand Down
6 changes: 3 additions & 3 deletions application/de/creating-links.texy
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ Beachten Sie, dass wir statt des HTML-Attributs `href` das [n:Attribut |latte:sy
Auf einen Link zu klicken ist, vereinfacht gesagt, so etwas wie der Aufruf der Methode `ProductPresenter::renderShow()`. Und wenn diese in ihrer Signatur Parameter hat, können wir sie mit Argumenten aufrufen:

```latte
<a n:href="Product:show $product->id, $product->slug">Produktdetail</a>
<a n:href="Product:show, $product->id, $product->slug">Produktdetail</a>
```

Es lassen sich auch benannte Parameter übergeben. Der folgende Link übergibt den Parameter `lang` mit dem Wert `en`:

```latte
<a n:href="Product:show $product->id, lang: en">Produktdetail</a>
<a n:href="Product:show, $product->id, lang: en">Produktdetail</a>
```

Hat die Methode `ProductPresenter::renderShow()` in ihrer Signatur kein `$lang`, kann sie den Wert des Parameters mit `$lang = $this->getParameter('lang')` oder aus einer [Property |presenters#Parameter des Requests] holen.
Expand Down Expand Up @@ -162,7 +162,7 @@ Dabei werden zugleich alle Parameter übernommen, die in der Signatur der Method
Natürlich lassen sich Parameter auch direkt angeben:

```latte
<a n:href="this refresh: 1">aktualisieren</a>
<a n:href="this, refresh: 1">aktualisieren</a>
```

Die Funktion `isLinkCurrent()` prüft, ob das Ziel des Links mit der aktuellen Seite identisch ist. Das lässt sich zum Beispiel im Template nutzen, um Links optisch zu unterscheiden usw.
Expand Down
2 changes: 1 addition & 1 deletion application/de/how-it-works.texy
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Da wir gerade bei Templates sind: Nette verwendet das Templating-System [Latte |
Im Template [erstellen Sie Links |creating-links] auf andere Presenter & Aktionen so:

```latte
<a n:href="Product:show $productId">Produktdetail</a>
<a n:href="Product:show, $productId">Produktdetail</a>
```

Schreiben Sie einfach das vertraute Paar `Presenter:Aktion` statt der tatsächlichen URL und ergänzen Sie eventuelle Parameter. Der Trick steckt in `n:href`, das Nette sagt, dieses Attribut zu verarbeiten. Es erzeugt dann:
Expand Down
8 changes: 4 additions & 4 deletions application/de/presenters.texy
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ $url = $this->link('Product:show', [$id, 'lang' => 'en']);
Im Template werden Links auf andere Presenter & Aktionen so erstellt:

```latte
<a n:href="Product:show $id">Produktdetail</a>
<a n:href="Product:show, $id">Produktdetail</a>
```

Schreiben Sie einfach das vertraute Paar `Presenter:action` statt der tatsächlichen URL und ergänzen Sie eventuelle Parameter. Der Trick steckt in `n:href`, das Latte sagt, dieses Attribut zu verarbeiten und die echte URL zu erzeugen. In Nette müssen Sie überhaupt nicht über URLs nachdenken, sondern nur über Presenter und Aktionen.
Expand Down Expand Up @@ -282,7 +282,7 @@ Für die Property empfehlen wir, den Datentyp anzugeben (z. B. `string`), Nette
Beim Erstellen eines Links lässt sich der Wert des Parameters direkt setzen:

```latte
<a n:href="Home:default theme: dark">klicken</a>
<a n:href="Home:default, theme: dark">klicken</a>
```


Expand Down Expand Up @@ -330,13 +330,13 @@ class ProductPresenter extends Nette\Application\UI\Presenter
Beim Erstellen eines Links lässt sich der Wert eines persistenten Parameters ändern:

```latte
<a n:href="Product:show $id, lang: cs">Detail auf Tschechisch</a>
<a n:href="Product:show, $id, lang: cs">Detail auf Tschechisch</a>
```

Oder er lässt sich *zurücksetzen*, also aus der URL entfernen. Er nimmt dann seinen Standardwert an:

```latte
<a n:href="Product:show $id, lang: null">klicken</a>
<a n:href="Product:show, $id, lang: null">klicken</a>
```


Expand Down
3 changes: 3 additions & 0 deletions application/en/@home.texy
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,6 @@ PHP Compatibility
| Nette Application 2.4 | PHP 5.6 - 8.0

Valid for the latest patch versions.

{{maintitle: Nette Application: PHP Framework for Web Applications}}
{{description: The core of the Nette framework: a bidirectional router, presenters, reusable components with signals and secure Latte templates for modern web applications.}}
Loading