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.

Plugin Content Data View - table ID?

More
2 years 6 months ago - 2 years 6 months ago #7635 by rusasadmins
Plugin Content Data View - table ID? was created by rusasadmins
Table classes can be added using viewclass.  Is there a way to add a table ID?
The ID would be used to apply JQuery DataTables to the table. If there is a way to do that without the ID, please let me know.

Thanks!
Michelle
Last edit: 2 years 6 months ago by rusasadmins.

More
2 years 6 months ago #7636 by Administrator AV
Replied by Administrator AV on topic Plugin Content Data View - table ID?
Hi Michelle,
jQuery Datatable just needs a good selector, in order to apply the data table.

Basically each instance of the content plugin data view has a wrapper, which already has it's own ID.
You can find it, if you take a look at the html source code of the site.
So it is already possible to access the table.

Further on you can add a custom class to the datatable itself.
Use the parameter "viewclass" and start your choosen class name with a blank.

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 :-).

More
2 years 6 months ago #7640 by rusasadmins
Replied by rusasadmins on topic Plugin Content Data View - table ID?
I will try that.

Thank you, Aicha!

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum