131 Posts
root
12 days ago
1
Topic

Hi,

As many of you will know, since some point in version 4 of Seblod, the old Calendar Picker field became deprecated. Some of the websites, while updating seblod, converted automatically the date fields of Seblod articles into the JForm Calendar field. However, other sites did not perform this conversion. I have finished replacing the Calendar Picker fields in my forms with JForm Calendar fields, but I see that even when updating Seblod, the Calendar Picker field is not replaced by the JForm Calendar field and is uninstalled, as happened with some other websites during an update some months ago.

Does anyone know what needs to be done to update the Seblod core fields from Calendar Picker to JForm Calendar? I mean fields as "Article Created" or "User Birthdate" or "Article Modified" who still are Calendar picker

Thank you.

Best regards.

Get a Book for SEBLOD
131 Posts
root
11 days ago
0
Level 1

Ok, I've already solved it, in case anyone needs to know:

All tables from #__cck_core_fields where the 'type' column is calendar must be replaced with jform_calendar. For the options2 column of those fields, the following values need to be set:

{"today":"1","time":"24","week_numbers":"0"}

Except for the field user_birthdate, which should have the following options2:

{"time":"0","week_numbers":"0","today":"0","format_filter":"server_utc"}

After this, the old Calendar (picker) field can be uninstalled.

Best regards

Adonay

Get a Book for SEBLOD