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?

field order

Mehr
11 Jahre 8 Monate her #269 von imkejoemrati
field order wurde erstellt von imkejoemrati
i made a form with a lot of fields. when ik display the data the order of the fields is not the same as in the form. Also in the administration , in display data, the order is not the same as in form. And also when exporting the data to a csv file, the order is not the same as in the form. Can you help me with this problem?
What is the maximum amount of fields in a form?

At this moment, when a field is left blank, you see -1 in the data (frontend and backend) and also when exporting. Is it possible to leave this blank?

Mehr
11 Jahre 8 Monate her #270 von imkejoemrati
imkejoemrati antwortete auf Re:field order
i read another posting about this, and i got it working on the backend. changed the visdata.php file in de administration. How can i change it on frontend?

Mehr
11 Jahre 8 Monate her #271 von Administrator AV
Administrator AV antwortete auf Re:field order
Hi imkejoemarati,

thanks for your post.

1) Fieldorder in backend dataview and export

open file administrator/components/com_visforms/models/visdata.php

find function getDatafields (about lin 263)

replace

$query = ' SELECT * from #__visfields as c where c.fid='.$this->_id.' ';

in this function with

$query = ' SELECT * from #__visfields as c where c.fid='.$this->_id.' ORDER BY c.ordering asc';

2) Fieldorder in frontend dataview

open file components/com_visforms/models/visformsdata.php

find function getDatafields (about line 181)

replace

$query = ' SELECT * from #__visfields c where c.fid='.$this->_id." and (c.frontdisplay is null or c.frontdisplay = '1') ";

in this function with

$query = ' SELECT * from #__visfields as c where c.fid='.$this->_id.' order by c.ordering asc';

There is no maximum amount of fields per form.

Fields, when left blank, are set to NULL in Database and are displayed empty in dataview (backend and frontend). I don't now, why they show up as -1 on your website but I assume that's a setting of your mySql rahter than of visforms.

Regards,
Aicha

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

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

Mehr
11 Jahre 8 Monate her #273 von imkejoemrati
imkejoemrati antwortete auf Re:field order
thank you, it works

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum