Differences

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 07:29]
Knut Heermann (flip-flop)
english:phpwcms-system:article:contentparts:form:special-applications:calendar:date-with-js-calendar [2018/06/03 18:09] (current)
Line 3: Line 3:
====== 1) Date Input with JS Calendar ====== ====== 1) Date Input with JS Calendar ======
-**A JS Calendar, which allows to enter a date into a form with a check box. The manual input fields are generated only when the JS in on!** \\+**A JS Calendar, which allows to enter a date into a form with an input check. The manual input fields are generated only when the JS in on!** \\
\\ \\
Line 130: Line 130:
</code> </code>
 +
 +\\
===== Frontend output ===== ===== Frontend output =====
Line 151: Line 153:
-The Field Name **date_input** we find in the script call back..  +The Field Name **date_input** we find in the script call back.  
-**The eemplate** for the calendar looks like this: +**The template** for the calendar looks like this:
<code html> <code html>
{ERROR:date_input}[B]{LABEL:date_input}[/B] {ERROR:date_input}[B]{LABEL:date_input}[/B]
Line 160: 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 174: Line 176:
\\ \\
-==== BE Formular ====+==== BE Form ====
{{:deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:kalender:calendardateinput02_01.gif|}} {{:deutsch:phpwcms-system:artikel:contentparts:formular:spezielle-anwendungen:kalender:calendardateinput02_01.gif|}}
-==== BE Templae receiver ====+==== BE Template receiver ====
//(Pretty nonsensical example)// //(Pretty nonsensical example)//
Line 213: Line 215:
\\ \\
-==== Vorlage ====+==== Template ====
Line 241: 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>
 +
english/phpwcms-system/article/contentparts/form/special-applications/calendar/date-with-js-calendar.1314250174.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0