tbaddade / redaxo_sprog

Platzhalter ersetzen
MIT License
30 stars 15 forks source link

Standard Konfiguration hinzugefügt #87

Closed TobiasKrais closed 1 year ago

TobiasKrais commented 1 year ago

Damit nicht erst die Konfiguration nach der Installation einmalig gespeichert werden muss, sondern die Tags sofort extern abgerufen werden können.

tbaddade commented 1 year ago

Danke, aber das braucht es eigentlich nicht.

Beim abfragen der Tags ist Fallback notiert. https://github.com/tbaddade/redaxo_sprog/blob/master/lib/Sprog/Wildcard.php#L18 https://github.com/tbaddade/redaxo_sprog/blob/master/lib/Sprog/Wildcard.php#L23

TobiasKrais commented 1 year ago

Intern brauchst du es nicht, aber extern ist es nützlich: https://github.com/TobiasKrais/d2u_helper/blob/007a0f5fdf85a833dfe93d6f3b06de3780a77d76/modules/10/3/output.php#L44-L45

tbaddade commented 1 year ago

Auch für extern. Lieber nicht über die Config gehen sondern die statische Methode verwenden.

TobiasKrais commented 1 year ago

OK. Darauf werde ich in Zukunft achten. Die Default Config löst außerdem diesen Issue: https://github.com/tbaddade/redaxo_sprog/issues/63

TobiasKrais commented 1 year ago

Danke!