Monday first day in calendar

nacho created the topic: Monday first day in calendar

Hi!
How I can do to make the calendar week Begin Monday?

thank you.

#31447

Please Log in or Create an account to join the conversation.


Support replied the topic: Monday first day in calendar

Dear user,

Do you want to make the changes in the date picker of Form Maker?
Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#31479

Please Log in or Create an account to join the conversation.


nacho replied the topic: Monday first day in calendar

Yes.

#31487

Please Log in or Create an account to join the conversation.


Support replied the topic: Monday first day in calendar

Dear Nacho,

Unfortunately the date picker is a standard jQuery UI plugin and Form Maker doesn't modify its view with options.
Thank you.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#31519

Please Log in or Create an account to join the conversation.


nacho replied the topic: Monday first day in calendar

The Solution:

Rewritin component to keep in futures updates:
\my_temlate\html\com_formmaker\formmaker\default.php
in line 2605:

$onload_js.= 'Calendar.setup({inputField: "wdform_'.$id1.'_element'.$form_id.'", ifFormat: "'.$param.'",button: "wdform_'.$id1.'_button'.$form_id.'",align: "Tl",singleClick: true,firstDay: 0});';

change property firstDay:0 by 1 --> 0 Sunday, 1 Monday

$onload_js.= 'Calendar.setup({inputField: "wdform_'.$id1.'_element'.$form_id.'", ifFormat: "'.$param.'",button: "wdform_'.$id1.'_button'.$form_id.'",align: "Tl",singleClick: true,firstDay: 1});';

#38467

Please Log in or Create an account to join the conversation.


Support replied the topic: Monday first day in calendar

Dear Nacho,

Thank you for sharing this information with our community! It will be very useful for users that need this view.


Best regards,
Web-Dorado team


Joomla extensions ,
Wordpress plugins ,
Drupal modules
#38521

Please Log in or Create an account to join the conversation.


Frederic Fitaire replied the topic: Monday first day in calendar

Hi,

I tried to do the same for my site but I cannot find the default.php file at the place given by nacho : template name/html/com_formmaker/formmaker/default.php
There is no com_formmaker directory under template/html (my template is protostar).

I found something that looks equivalent under:
components/com_formmaker/views/formmaker/tmpl/default.php
At the same line 2605, I changed "...firstDay: 0 ..." by "...firstDay: 1 ..." but the datepicker still starts by Sunday.

My Joomla 3.4.8 installation is a fresh one that I just created to check this issue.

Any help would be much appreciated ;)
Thanks

#49343

Please Log in or Create an account to join the conversation.


nacho replied the topic: Monday first day in calendar

Dear Frederic,

Copy the file from:
components/com_formmaker/views/formmaker/tmpl/default.php
to
mytemplate/html/com_formmarker/formmaker/default.php (create this folders in your template).
this is to override the plugin to keep it in future updates.

Change the value from firstDay:0 => 1 in line 2605.

Remember clear your browser cache and test again.

Good luck!

#49423

Please Log in or Create an account to join the conversation.


Agapi G. replied the topic: Monday first day in calendar

Dear Nacho,

Thank you so much for sharing the solution you have implemented! Frederic, since you have made the changes, could you please clear your browser cache and test again?

Let us know if it works.
Thanks!


Kind regards,
Agapi G.
Web-Dorado team
#49457

Please Log in or Create an account to join the conversation.


Frederic Fitaire replied the topic: Monday first day in calendar

Thank you very much nacho !
I've followed your advice but unfortunately the problem is still the same, even after having deleted my browsers cache (tested on IE, Firefox and Dolphin) AND my server cache (I use a mutualized hosting on OVH which relies to a CDN that I can clear from my user interface) ...
The server cache "Time To Live" expires after 60 minutes max. I'll wait a bit and will do further tests later on. I'll keep you updated.

#49475

Please Log in or Create an account to join the conversation.


Agapi G. replied the topic: Monday first day in calendar

Dear Frederic,

The time period for caching must have expired by now. Could you please let us know if the implemented changes are applied now?

Thank you!


Kind regards,
Agapi G.
Web-Dorado team
#49499

Please Log in or Create an account to join the conversation.


Frederic Fitaire replied the topic: Monday first day in calendar

Unfortunately, no change ...

#49501

Please Log in or Create an account to join the conversation.


Agapi G. replied the topic: Monday first day in calendar

Dear Frederic,

In that case could you please contact us by e-mail ([email protected]) and give temporary Joomla Super User access to your website? Our developers will take a look at the problem and implement a solution as soon as possible.

Also please include the link to this forum topic in your e-mail.
Thanks in advance!


Kind regards,
Agapi G.
Web-Dorado team
#49561

Please Log in or Create an account to join the conversation.


Frederic Fitaire replied the topic: Monday first day in calendar

Thank you Agapi, your help proposal is greatly appreciated !
Mail sent to your support.

#49593

Please Log in or Create an account to join the conversation.


Agapi G. replied the topic: Monday first day in calendar

Dear Frederic,

Thank you for sending the e-mail!

I have assigned a task to our developers, who will take a look at the problem and figure out a solution very soon.

I will make sure to let you know, when they finish working.
Thanks!


Kind regards,
Agapi G.
Web-Dorado team
#49603

Please Log in or Create an account to join the conversation.


Ricardo Ramirez replied the topic: Monday first day in calendar

Since people are clearly helping this guy out here, can someone help me with this?

www.adiktivsports.com/team-orders/

The team order form keeps values for empty fields even when you click on them, does anyone know what could be causing this? Example: when you click in a text box the grey text should disappear and the cursor should be set at the beginning, for me it is not getting rid of the grey text.

Also, can someone tell me how to set the date picker ahead 7 days to prevent people from requesting our products sooner than we can provide them? Please help!!

#50063

Please Log in or Create an account to join the conversation.


Agapi G. replied the topic: Monday first day in calendar

Dear Ricardo,

Thanks for posting about this problem!

Could you please check my reply to your post under this topic?
web-dorado.com/forum/form-maker/17423-my...rking-correctly.html

So please let us to take a closer look at the problem and figure out a solution for your website as soon as possible.

Thanks in advance!


Kind regards,
Agapi G.
Web-Dorado team
#50139

Please Log in or Create an account to join the conversation.


Time to create page: 0.337 seconds
Powered by Kunena Forum

WORLD-CLASS SUPPORT

We are here for you every step of the way. Turn to our support with any questions you might have about our products and services. Our experienced customer care team is available to help you as fast as we possibly can.

Contact us