Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

Aufgrund von Feiertagen und Urlaub ist bei Anfragen im Forum in der Zeit vom 18. Mai 2024 bis zum 2. Juni 2024 mit verlängerten Antwortzeiten zu rechnen.

Time Stamp column it is capturing UTC time

Mehr
10 Jahre 1 Woche her #550 von Administrator AV
Time Stamp column it is capturing UTC time wurde erstellt von Administrator AV
Thanks to an email of a visforms user I just realized, that the column "Date" in Visforms data view and the "Registered at" text in result an user email use php date function and not Joomla! framework functions.

As a result they seem to always use UTC time even when the local is set differently.

At the moment you have to change a bit of code to fix it.

go to components/com_visforms/models/visforms.php and find
Code:
function saveData() {

at about line 600

Replace it with
Code:
function saveData() { date_default_timezone_set("Asia/Kolkata");
You have of course to replace "Asia/Kolkata" with name of your timezone.

Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Mehr
10 Jahre 1 Woche her #551 von parashuram
parashuram antwortete auf Time Stamp column it is capturing UTC time
Hello Aicha

Thank you very much, I would like to share with you that I surprised when I got the reply to my query, I cant't believed I will get the solution.

I followed your instructions and got the solution, now it is capturing exact time (Asia/Kolkata)

Thanks a lot. However I would like to show this TimeDate column in Display Data Page. Will you please send the solution for this?

Awaiting your response.

With thanks
Parashuram Singade

Mehr
10 Jahre 1 Woche her - 10 Jahre 1 Woche her #552 von Administrator AV
Administrator AV antwortete auf Time Stamp column it is capturing UTC time
Hi parashuram,

this is much more complex, because showing the date in frontend data view is not yet a feature in visforms. For visforms works multi language and with many features even in the data view, making a complete instruction for you is just as much work as to implement the feature itself. Therefore I can only give you a guide which you might be able to follow if you have some knowledge of HTML. But you have to implement and test for yourself.

The file you are looking for is
components/com_visforms/visformsdata/tmpl/data.php

Make a copy of it first as backup.

This file build the HTML of the data view.
There is a HTML table element with th elements. The existing th elements contain some php code (multi language text, sort function...) but basically you just have add a new th-Element inside the tr-element in the table header, with the text you want as table header. (i.e. Date). Make it the last th element just before the closing tr element.

Next you have to add the date itself in the table body.
Find the closing table element. Find the closing tr element which is some lines above the closing table element. Add a new td element immediately before that closing tr element. (After "<?php } ?>")
As content in that td element use the following code
Code:
<?php echo $row->created; ?>
I hope you can make it work.

Kind Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
Letzte Änderung: 10 Jahre 1 Woche her von Administrator AV.

Mehr
10 Jahre 1 Woche her #553 von parashuram
parashuram antwortete auf Time Stamp column it is capturing UTC time
Hello Aicha

I configured it and I got what I want. Thanks a lot for your grate support.

Parashuram

Mehr
10 Jahre 1 Woche her #554 von Administrator AV
Administrator AV antwortete auf Time Stamp column it is capturing UTC time
Hi Parashuram,

you're wellcome!

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum