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.

Wichtige Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

exporting fields

Mehr
9 Jahre 1 Monat her #3021 von mligrani
exporting fields wurde erstellt von mligrani
:ohmy:
hi guys,
is it possible to export the "created by" field displayed in the data page? it's very critical to us..
thank you in advance,
regards

massimo

Mehr
9 Jahre 1 Monat her #3024 von Administrator AV
Administrator AV antwortete auf exporting fields
Hi,

at the moment it is not. I think, when I added the created_by field in Visforms I just "forgot" to add an option which would allow you to include/exclude the field from export.

I could add such an option in the next release.

If you just need to have this field in all your exports (without a form configuration option to set whether it is included or not) you can change the source code.

Open the file administor/components/com_visforms/models/visdatas.php

find the function createExportBuffer ($params = null, $cids = array())
find
Code:
if (isset($params->expfieldcreated) && $params->expfieldcreated == 1) { $buffer .= JText::_( 'COM_VISFORMS_FIELD_CREATED_LABEL' ) . $separator; }
and add the line
Code:
$buffer .= 'Created By' . $separator;
directly after this code. (In order to have a label in the haeder, if you export with a header

Find the function createPreFields ($params, $row, $separator = ";")

find
Code:
if (isset($params->expfieldcreated) && $params->expfieldcreated == 1) { $data .= $row->created . $separator; }
Add
Code:
$data .= $row->created_by . $separator;
directly after this code (this will add the userid to each export row).

It's not tested yet, but I think, this will work,

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 :-).
Folgende Benutzer bedankten sich: mligrani

Mehr
9 Jahre 1 Monat her #3027 von mligrani
mligrani antwortete auf exporting fields
Hi Aicha, it worked perfectly.
Going to rate your work on JED. Donation will come with the next release, including ID and/or user data export configuration in the administration panel... ;)
thank you very much by now

massimo

Mehr
9 Jahre 1 Monat her #3029 von Administrator AV
Administrator AV antwortete auf exporting fields
Thanks,

I already added a new option "included created by" to the Visforms core.
So the changes will be part of Visforms 3.8.2.

But I think it will take me some more time to release this update because I actually wanted to add some other feature to this release as well.

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