Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamisches Einbinden von script-Tags #453

Closed
blackcoder87 opened this issue Feb 9, 2020 · 0 comments · Fixed by #676
Closed

Dynamisches Einbinden von script-Tags #453

blackcoder87 opened this issue Feb 9, 2020 · 0 comments · Fixed by #676

Comments

@blackcoder87
Copy link
Contributor

Als das Open Graph Protokoll in das Artikel-Modul eingebunden wurde, wurde gleichzeitig eine Möglichkeit geschaffen dynamisch Meta-Tags in den Header einzubinden.
Dynamisches Einbinden von link-Tags wurde mit Ticket 600 umgesetzt:
http://redmine.ilch2.de/issues/600

Eine ähnliche Lösung sollte auch für script-Tags eingefügt werden.
3e035e7
997d138

//TODO: rework loading of css and jss to be more dynamic!!!

https://github.com/IlchCMS/Ilch-2.0/blob/v2.1.21/application/libraries/Ilch/Layout/Frontend.php#L196

https://github.com/IlchCMS/Ilch-2.0/blob/v2.1.21/application/libraries/Ilch/Design/Base.php#L121
https://github.com/IlchCMS/Ilch-2.0/blob/v2.1.21/application/libraries/Ilch/Layout/Frontend.php#L199
https://github.com/IlchCMS/Ilch-2.0/blob/v2.1.21/application/libraries/Ilch/Layout/Frontend.php#L127
https://github.com/IlchCMS/Ilch-2.0/blob/v2.1.21/application/libraries/Ilch/Layout/Helper/MetaTag/Model.php

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script

HTML 5.2
The definition of '<script>' in that specification:
https://www.w3.org/TR/html52/semantics-scripting.html#semantics-scripting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant