developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Ticket #862 (closed enhancement: fixed)
3rd party script easy integration
|Reported by:||dsdenes||Owned by:|
|Hosting Provider:||Php version:|
Description (last modified by laurentj) (diff)
Would be great if integrating any type of 3rd scripts would be easy. There are many times that 3rd application comes with many mixed type file. In a template/controller if we wouldn't care about initilaizing the parts of the 3rd script separately (js, css, images), should initialize the script with one command.
For example a 3rd application: foo
_init.php should see the response object and should call the corresponding methods like addCSSLink, addJSLink, require_once()
The php requirement should go into a new namespace.
jtpl_meta_html_html::3rd => j3rdParty::init3rd