feat: Grundattribute - globals, context und Twig-Funktionen (#3) #10
No reviewers
Labels
No labels
Area/CI
Area/Server
Area/Tagging
Kind/Bug
Kind/Chore
Kind/Docs
Kind/Feature
Phase/1 Grundgerüst
Phase/2 Grundattribute
Phase/3 Produkt und Listen
Phase/4 Warenkorb
Phase/5 Checkout und Bestellung
Phase/6 Release
Priority/High
Priority/Low
Priority/Normal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SW-Plugins/wsc_swplugin_walkeros!10
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/grundattribute"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 2 (#3).
Inhalt
Tagging\AttributeBuilder(Port aus dem Sulu-Bundle, pluscontext()undglobalsValue()),Tagging\PageTypewsc_elb_globals,wsc_elb_globals_value,wsc_elb_context,wsc_elb_entity,wsc_elb_action,wsc_elb_page_type. Bei Schalter „aus" oder ungültiger Eingabe keine Ausgabe (Fehler im Log).base.html.twig:<div hidden data-elbglobals>mitsales_channel,language,currency,pagetype,price_basis(ohne Personenbezug, HTTP-Cache-tauglich)docs/events.md(Abgleich mit dem Stack, Globals, Preisbasis),docs/theme.md,docs/demo-produkte.php.txt(Demo-Daten fürs DDEV)price_basissagt brutto/netto, keine Umrechnung.Geprüft
|rawim unquotierten Attribut), behoben durchwsc_elb_globals_value().pagetypehome/category/product/search/cart/account im echten HTML korrekt. Schalter aus: HTML identisch zum HTML ohne Plugin.Nicht geprüft
walker.js/Collector beteiligt,data-elbcontextist noch in keinem Template verdrahtet (kommt mit #4).Refs #3
🤖 Generated with Claude Code
Semgrep blockierte <div hidden {{ x|raw }}> als unquotiertes Attribut. Neue Twig-Funktion wsc_elb_globals_value() liefert nur den Wert; das Template setzt das Attribut selbst in Anführungszeichen und Twig escaped. HTML unverändert. Refs #3 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.