NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms-system:article:contentparts:form:special-applications:calendar:date-with-js-calendar [2011/08/25 08:20] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:form:special-applications:calendar:date-with-js-calendar [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 162: | Line 162: | ||
</code> | </code> | ||
\\ | \\ | ||
- | At the end of the template field, the JS file included: | + | At the end of the template field, the JS file is included: |
<code php> | <code php> | ||
[PHP] | [PHP] | ||
Line 243: | Line 243: | ||
[/PHP] | [/PHP] | ||
</code> | </code> | ||
+ | |||
+ | \\ | ||
+ | **Since r411 please use** | ||
+ | |||
+ | <code html><!-- JS: {TEMPLATE}inc_js/calendarDateInput/calendarDateInputX.js --></code>instead of | ||
+ | |||
+ | <code html> | ||
+ | [PHP] | ||
+ | $GLOBALS['block']['custom_htmlhead']['calendarDateInputX.js']= getJavaScriptSourceLink('template/inc_js/calendarDateInput/calendarDateInputX.js'); | ||
+ | [/PHP] | ||
+ | </code> | ||
+ |