9 years ago
Topic
Hi,

I often use calendar in joomla-classic-content.
The calendar (datepicker) of Joomla is really user-friendly.

In Seblod...it's a different story.
Change time, choose AM or PM and after click date.
Impossible to change the number manually with my keyboard...

Too long to use it !
Sometines, I have to try several times to enter the exact date and time what I want...

How to have a better datepicker ?
Like this for example : http://xdsoft.net/jqplugins/datetimepicker/
Get a VIP membership
9 years ago
2
Level 1
If you are familiar with PHP you could take the calendar field plugin and adjust it to your needs with a different datepicker.

Impossible to change the number manually with my keyboard...
If you change the default calendar field setting for "Text input" from read only to enabled, you can type in the field.
9 years ago
1
Level 2
Hi gebeer, 

Thank you for your answer.


" If you are familiar with PHP you could take the calendar field plugin and adjust it to your needs with a different datepicker. "

Yep, I think I can do that, but where... in backend ? or in PHP file ?


" from read only to enabled "

Great tips !!!
693 Posts
rpoy
9 years ago
0
Level 3
Hi,


You can use the SEBLOD Developer which will create a plugin template.  Then from there, you can add the code you need to create a new plugin.


Hope that helps

Randy
9 years ago
1
Level 1
Yep, I think I can do that, but where... in backend ? or in PHP file ?
You can have a look at folder /plugins/cck_field/calendar. That is the code for the calendar field.
9 years ago
0
Level 2
Yes I found this folder.
But, if I update Seblod, it's erase it ?

I will try with SEBLOD Developer ;)
9 years ago
0
Level 1

Hi! Did you solve it to change the calendar? Thanks!

98 Posts
Edwin
9 years ago
0
Level 1

Hello. Has anyone been successful with changing the calendar field? Thanx

143 Posts
Stef
8 years ago
0
Level 1

Hi,

As i'm working with UIkit Framework i'm using the Uikit DatePicker on a text field. Works great !

That's the attribute i use in the custom attributes (for the french calendar) :

placeholder="Date de début" data-uk-datepicker="{format:'YYYY-MM-DD',i18n:{months:['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],weekdays:['Dim','Lun','Mar','Mer','Jeu','Ven','Sam']}}"

More info here for those who also use Uikit : http://getuikit.com/docs/datepicker.html

Get a VIP membership