× Please quote us your Systemkonfiguration, discribe us as detailed as possible, what do not work.

Please do not tell us, something didn't work!

Time on Date picker

11 Jahre 3 Wochen her #343 von marcrausch
Time on Date picker wurde erstellt von marcrausch
Hi, how do I remove the time stamp from the date picker, I just wnt the form to show the date and not also the time when a user selects the date from the date picker

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

11 Jahre 3 Wochen her #344 von Maike
Maike antwortete auf Time on Date picker
Hi marcrausch,

currently, the date picker is hardcoded to Year-Month-Day Hour:Minute:Second in the component.

We will make this option configurable in the next version, thank you for your improvement suggestion!


maike

If you like our extensions and think they are worth 5 stars, please write a review in the JED

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

11 Jahre 3 Wochen her #345 von marcrausch
Thank you Maike

Is there no way I can manually change that any of the php or xml files?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

11 Jahre 3 Wochen her #346 von Maike
Maike antwortete auf Time on Date picker
Hi marcrausch,

you can change the hardcoded time format by directly editing it in the frontend view php file.

In your joomla installation, go to the directory /components/com_extroforms/views/efforms/tmpl/ , there you can find the php files that control frontend output.

Depending on which view you want to use (default, static, etc.), you need to edit the respective file, eg default.php for the default view. Search for '%Y-%m-%d %H:%M:%S' (the hardcoded time format) and replace every occurrence of it (should be 5 times) with your own time format, eg '%Y-%m-%d' if you only want to use Year-month-day in the date picker. For a full list of date format options take a look here: de3.php.net/manual/en/function.date.php

But normally, only Year, month, day, hour, minute and second should be needed.

maike

If you like our extensions and think they are worth 5 stars, please write a review in the JED

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

11 Jahre 3 Wochen her #347 von marcrausch
Perfect!! Thank you Maike, done and working :)

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Moderatoren: forumsupport
Powered by Kunena Forum