Joomla 6 Notice

We are pleased to announce that all our Joomla extensions have been compatible with Joomla 6 since October 14th, 2025.

For those currently upgrading from Joomla 3 to 4: Instructions for Joomla 4 migration can be found here:

There are standalone documentations Visforms Joomla 4, Visforms Joomla 5 and Visforms Joomla 6.

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.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

geänderte Datensätze optionsweise auf "nicht veröffenticht" setzen

More
5 years 9 months ago #7006 by Administrator AV
Hallo Heinz,

Uploadfelder werden aktuell in der Zusammenfassungsseite der Edit-View nur angezeigt, wenn man tatsächlich eine neue Datei hochgeladen hat.

Ich habe den Javascript Fehler im Code für die Zusammenfassungsseite, der entsteht, wenn ein Benutzer ein Feld dieses Typs im Frontend nicht bearbeiten darf jetzt so korrigiert, dass sich die Zusammenfassungsseite genauso verhält.

Hier der Fix:
media\com_visforms\js\visforms.js
Ab Zeile 800 den ganzen case 'file': Abschnitt austauschen.
Vorher:
Code:
case 'file' : if (!jQuery("#" + formid + " #field" + o.id).prop("disabled")) { var value = jQuery("#" + formid + " #field" + o.id).val(); if ((!visform.hideemptyfieldsinsummary) || (value != "")) { value = value.replace(/^.+(?=[\\\/])\\/, ""); summary.push(label + visform.oSummarySecondElementLayout + value + visform.cSummarySecondElementLayout); } } return;

Korrigiert:
Code:
case 'file' : if (!jQuery("#" + formid + " #field" + o.id).prop("disabled")) { var value = jQuery("#" + formid + " #field" + o.id).val(); // input element of upload field is not always displayed in form if (typeof value === "undefined") { return; } if ((!visform.hideemptyfieldsinsummary) ||(value != "")) { value = value.replace(/^.+(?=[\\\/])\\/, ""); summary.push(label + visform.oSummarySecondElementLayout + value + visform.cSummarySecondElementLayout); } } return;

Das mit der Textarea mit HTML stimmt.
Schaue ich auch noch mal rein.
Gruß,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: MaliRaj

More
5 years 9 months ago #7007 by Administrator AV
Hallo Heinz,
und hier der Fix für die Textarea.
components\com_visforms\models\edit.php
Nach Zeile 114
Code:
if (isset($fields[$i]->isForbidden) && ($fields[$i]->isForbidden == true)) {
folgenden Code einfügen
Code:
if ($fields[$i]->typefield === 'textarea') { $fields[$i]->hasHTMLEditor = false; }
Gruß,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: MaliRaj

More
5 years 9 months ago - 5 years 9 months ago #7009 by MaliRaj
Boah! Das ging ja fix mit dem Fix. So schnell hab ich das gar nicht erwartet.
Inzwischen auch getestet - läuft perfekt.
Das ist mir völlig klar, dass bei solch umfangreichen Möglichkeiten nie alles vorher bis ins Detail in allen Varianten und Anhängigkeiten gestestet werden kann. (das klappt nicht einmal bei einer App für 20 Mio ;))
Vielen Dank! :)

Freundliche Grüße aus PM
Heinz
(Joomla 5.2.3 / Visforms+Subscription 5.4.1 / PHP 8.2)
Last edit: 5 years 9 months ago by MaliRaj.

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum