9 years ago
3
Topic

Hello, I am facing a problem with language. I create a form with two date fields but when I switch the front end language to Greek the fields are not working. When I am pressing the button it is just refreshing the page without show me the date window. Any advice what might be the problem?

Get a Book for SEBLOD
9 years ago
0
Level 1

Hi,

It looks like you have a javascript error on the page.

Depending on the browser you use, you can activate a debugger (Chrome debugger, Firebug, ...) and post us any js error details.

Olivier

9 years ago
0
Level 1

I found missing el.js file. I made one and place it in folder. Now is working. Actually with calendar I have another problem with the day format. When I change the format from Y-m-d to d-m-Y it does not save the dates. Any solution to this?

9 years ago
0
Level 1

Hello mmitechnic,

yes it's a known issue which will be fixed in the next version in few days.

for waiting you can change the line 249 in the plugin field "Calendar"  ( plugins/cck_field/calendar/calendar.php  ) by :

$value	= ( $options2['storage_format'] == '0' ) ? ( $value )? date( 'Y-m-d H:i:s', strtotime( $value ) ) : $value : strtotime( $value );<br>

Regards.

Lionel

Get a Book for SEBLOD