List Manager Forum

Auto-fill date field

User moon_269 2012-02-10 18:30:21

Dear Moonsoft,

How can a date field be filled in automatically?

Many thanks for this great tool.

K.

Moonsoft support 2012-02-11 09:54:51

Hello,
at this time you can not define default values through administration, if you want the date field to be filled with a default value, you should edit the file to insert the value as default at the code, please check the file:

joomla\modules\mod_listmanager\tmpl\content.php

and look for the section creating date fields, following the lines:


case '1' :
$class.=' lm_calendar"';


you will find the input text with value="" acting as calendar field, you can add there the value you want to give as default.

Hope this helps

...
List Manager

Build different lists for your site

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!