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.

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

More
3 years 8 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 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: MaliRaj

More
3 years 8 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 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: MaliRaj

More
3 years 8 months ago - 3 years 8 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
Last edit: 3 years 8 months ago by MaliRaj.

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum