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.

Data view plugin trouble

Mehr
5 Jahre 4 Wochen her #6127 von smpSami
Data view plugin trouble wurde erstellt von smpSami
Hello,

I'm have two problems with plugin data view (in an article). First is the detail view icon. I can't get it to show. It only shows the id number as a link. The second problem is that the maxtextwidth parameter does nothing. In frontend view there is no problem

This is the code script i have:
Code:
{vfdataview}{"formid":"7","fieldlist":"117,118,121","sortorder":"117","sortdirection":"desc","display_num":"5","show_page_heading":"false","displaydetail":"true","viewclass":"jlist-table","displayid":"false","maxtextlength":"200","displaycounter":"true","fieldselect":{"114":"testikohde"}}{/vfdataview}

This is what it looks like in frontend view and what I would want it to look like in content plugin data view:


And this is what it looks like now:

Mehr
5 Jahre 4 Wochen her #6128 von Administrator AV
Administrator AV antwortete auf Data view plugin trouble
Hi,
I will try to set up a test environment and check, if I can reproduce the problem.
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 :-).

Mehr
5 Jahre 4 Wochen her #6129 von Administrator AV
Administrator AV antwortete auf Data view plugin trouble
Hi,
ok. I think you actually found two things that do not work as they should. Sorry for that. I will provide bugfixes with the next Visforms/Subscription release.

If you want to, you can try to apply the fixes right now.

1. Textlength is does not work.

Open the file plugins\content\vfdataview\tmpl\default.php

Replace the code at line 102
Code:
echo $texte = JLayoutHelper::render('visforms.datas.fields', array('form' => $this->form, 'field' => $rowField, 'data' => $row, 'text' => $texte, 'htmlTag' => $this->valueHtmlTag, 'class' => $this->valueClass . ' data-f' . $rowField->id, 'extension' => $this->extension, 'view' => 'list', 'makeLocationUnique' => true, 'viewType' => $this->viewType), null, array('component' => 'com_visforms'));

with the following code
Code:
echo $texte = JLayoutHelper::render('visforms.datas.fields', array('form' => $this->form, 'field' => $rowField, 'data' => $row, 'text' => $texte, 'htmlTag' => $this->valueHtmlTag, 'class' => $this->valueClass . ' data-f' . $rowField->id, 'extension' => $this->extension, 'view' => 'list', 'makeLocationUnique' => true, 'viewType' => $this->viewType, 'pparams' => $this->pparams), null, array('component' => 'com_visforms'));

2. Icon not showing up
Open the file components\com_visforms\models\visformsdata.php

Replace the code at line 562
Code:
$form->$plgParamName = (($form->$parameter == "1" || $form->$parameter == "2" || $form->$parameter == "3")) ? true : false;

With the following code
Code:
$form->$plgParamName = ($this->pparams[$parameter] == "true" && ($form->$parameter == "1" || $form->$parameter == "2" || $form->$parameter == "3")) ? true : false;

Or for this 2. Problem, as a workaround, you could just set the form option "Display Id" to "don't" show. But this will, of course effect other data views for that form as well.

Please don'f forget to make a copy of the files, before you make changes, just in case....

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: smpSami

Mehr
5 Jahre 4 Wochen her #6130 von smpSami
smpSami antwortete auf Data view plugin trouble
Hello!

Both fixes worked well! Thank you!

Mehr
5 Jahre 4 Wochen her #6131 von Administrator AV
Administrator AV antwortete auf Data view plugin trouble
Hi,
thanks a lot for letting me know that they work!
Kind 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