Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Datum nach csv exportieren?

More
9 years 5 months ago #1048 by guewil
Datum nach csv exportieren? was created by guewil
Ich nutze die exportfunktion nach csv in meinen Formularen und das funktioniert auch recht gut.
Leider wird das Datum wann der Datensatz erstellt wurde nicht mit exportiert und ich habe keine Möglichkeit gefunden dies , ähnlich wie bei der IP-Adresse, zu definieren.
Können Sie weiterhelfen?

Vielen Dank

More
9 years 5 months ago #1053 by Administrator AV
Replied by Administrator AV on topic Datum nach csv exportieren?
Hi,

das ist irgendwie im Code nicht vorgesehen. Im Prinzip müsstest du den Code also ändern.
Der Export wird in der Datei administrator/componenents/com_visforms/controllers/visdatas.php gemacht.
Du müsstest an zwei Stellen etwas ändern.
Zuerst in der public function export ()
da gibt es eine Zeile (116)
Code:
//create tableheaders from fieldnames
füg direkt nach dieser Zeile folgenden code ein
Code:
$data .= "Datum;";
Dann gehst du in die
Code:
public function createPreFields ($form, $row)
(Zeile 285) Füge direkt nach
Code:
$data = "";
folgenden code ein
Code:
$data .= $form->created . ";";

Am besten vorher eine Sicherungskopie der Datei anlegen.
Hab es nicht getestet, sollte aber funktionieren.

Gruß,
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 :-).

More
9 years 5 months ago #1054 by guewil
Replied by guewil on topic Datum nach csv exportieren?
Danke für die schnelle Antwort
Es wird jetzt ein Datum exportiert, allerdings ist es bei jedem Datensatz das Datum an dem das Formular erstellt wurde, un meinem Fall immer "12.11.2014 15:26", das sagt wohl auch der code
$data .= $form->created . ";";

Ich bräuchte aber das Datum an dem das Formular vom Benutzer im Frontend ausgefüllt und abgeschickt wurde
Kannst du mir nochmals weiterhelfen?
Danke

Günter

More
9 years 5 months ago #1055 by Administrator AV
Replied by Administrator AV on topic Datum nach csv exportieren?
Hi Günter,

da hast du wohl recht.
Code:
$data .= $row->created . ";";

sollte besser funktionieren.

Herzliche Grüße,
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 :-).
The following user(s) said Thank You: guewil

More
9 years 5 months ago #1056 by guewil
Replied by guewil on topic Datum nach csv exportieren?
Hi Aicha,
perfekt, das funktioniert jetzt gut :)

Muss ich die Änderungen jedesmal nach einem eventuellen update von Visforms neu einfügen?
Ich nehme mal an das kommt immer darauf an welche Dateien beim update geändert wurden, aber ev. könnt Ihr das Datum ja standardmässig mit exportieren


Vielen Dank nochmals für die schnelle Hilfe
Güntere

More
9 years 5 months ago #1058 by Administrator AV
Replied by Administrator AV on topic Datum nach csv exportieren?
Hi Günter,

bei einem update werden immer alle Dateien ausgetauscht. Ich werde die Änderung incl. eines Formular Parameters zur Steuerung in den Core übernehmen.

Herzliche Grüße,
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 :-).
The following user(s) said Thank You: guewil

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum