Template layouts- doc layout variable use in layout tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 56/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- php
- Bereich
- documentation
Rechercherichtung
Read the template layouts documentation and the layout tag entry point to locate where template_group/template parameters are explained. Add a clear example showing a layout variable in the top layout tag and explain a useful conditional layout choice; also document the caching behavior discussed in the issue. Done means the docs cover both topics accurately.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
So eeconf 2025 - complex layouts talk notes that the docs don't make it clear you can use a layout variable as the template_group/template value when setting the parameter in the top layout tag. This really opens up some options to conditionally determine what layout to use in earlier templates.
So- note that and it would be nice to include an example of how/why you might do this.
Also worth noting somewhere how well it interacts with caching. Template caching doesnt help- tag caching may well be worth it. Speedy fragment fcaching can be applied to end.
- Vorherrschende Sprache
- CSS
- Sterne
- 22
- Forks
- 79
- Ø Merge
- 2 T. 1 Std.
- Gemergte PRs (30 T.)
- 6
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ExpressionEngine/ExpressionEngine-User-Guide
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
-
registration form docsOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 55/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 55/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 46/100
Alle Issues in ExpressionEngine/ExpressionEngine-User-Guide
Ähnliche Issues
-
area/docs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 83/100
Clodmony/starship-coop#72 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
nearform/ag-grid-url-sync#315 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
DigitecGalaxus/next-yak#727 · 1 Reaktion ·
-
documentation enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue priority:low type:docs
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 95/100
crazy-goat/rabbit-stream#969 ·
Maintainer antworten meist innerhalb von 1 Tag