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.

Aufgrund von Feiertagen und Urlaub ist bei Anfragen im Forum in der Zeit vom 18. Mai 2024 bis zum 2. Juni 2024 mit verlängerten Antwortzeiten zu rechnen.

data columns displayed

Mehr
10 Jahre 7 Monate her #213 von Paulj
data columns displayed wurde erstellt von Paulj
Hello again,

The "dispaly data" link works fine, however, the columns are displayed unsorted and the title is the LABELs and not the ALIASes. In my form, some LABELs are repeated twice, so it's quite difficult to sort out wich column it is.

Is it possible to have the column sorted ? to display the aliases ?

Thanks

Paul

Mehr
10 Jahre 7 Monate her #214 von Administrator AV
Administrator AV antwortete auf Re:data columns displayed
Hi Paul,

for this you have to change a bit of code. Sorry for that. I will adapt the component in the next update.

to show the aliases you have to open

yourJoomlaInst/administrator/componenten/com_visforms/views/visdata/tmpl/default.php

search for the following code (about line 147)

<?php echo JHtml::_('grid.sort', $rowField->label, 'a.F'. $rowField->id, $listDirn, $listOrder); ?>

and replace it with

<?php echo JHtml::_('grid.sort', $rowField->name, 'a.F'. $rowField->id, $listDirn, $listOrder); ?>


For the ordering open file

yourJoomlaInst/administrator/componenten/com_visforms/models/visdata.php

search for the following code(about lin 269) in public function getDataFields()

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

and replace it with

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

Sorry you have to change code in my extension but it's the only way.

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
10 Jahre 7 Monate her #215 von Paulj
Paulj antwortete auf Re:data columns displayed
Excellent ! quite doable even for a non-expert !!
Thanks

Mehr
10 Jahre 4 Tage her #568 von parashuram
parashuram antwortete auf Sort columns by name or F1 or as we wish
Hi Aicha

I would like to sort the table while displaying by Name which is set to F1 field. Please suggest.

Thanks

Mehr
10 Jahre 4 Tage her #569 von Administrator AV
Administrator AV antwortete auf Sort columns by name or F1 or as we wish
Hi parashuram,

there is no parameter to set a default sort coloum for data view in frontend. Usually you would have to set the the parameter "show table headings" in the frontend data menu item to yes and users could sort record sets then according to their requirements by clicking on the the table heading of the column they want to sort by.

To make it work as a parameter you can set in backend is much more complicated and would need proper testing. Therefore no code here. Sorry.

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