Basic Usage
The following code will create a simple date widget in editmode. In frontend it will output the date as defined in “output”.
Localization is automatically by registering the locale globally the ZF way or using the pimcore localization, read more here.
Simple Example
// simple example <?php echo $this->date("myDate", array( "format" => "d.m.Y" )); ?>
Configuration
| Name |
Type |
Description |
|---|---|---|
| format |
string |
A String which describes how to output the date see Ext.form.DateField. |
Additionally you can use every configuration property of Ext.form.DateField to customize the date widget in editmode.