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.

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

Search Tools do not display on front end

More
2 years 8 months ago #7998 by sjb1963
Hello,
This is Joomla 4
this is what is in the DevTools Console:
Uncaught TypeError: Cannot read properties of null (reading 'hide')
    at HTMLButtonElement.<anonymous> (jquery.searchtools.js?4f1a25b3b6bffb8cb4ad0666c666fefa:124:14)
    at HTMLButtonElement.dispatch (jquery.min.js?3.6.0:2:43064)
    at HTMLButtonElement.v.handle (jquery.min.js?3.6.0:2:41048)

This error does not happen on any other page except the one with the form on it.

Thank you

More
2 years 8 months ago - 2 years 8 months ago #8000 by Administrator IV
Replied by Administrator IV on topic Search Tools do not display on front end
Hello sjb1963,

the frontend 'Search Tools' of Visforms do work on J4, we also have current user feedback on that and no other related problems are currently known.
I suppose something else is causing the trouble and it is not causally related to Visforms.

The one 'DevTools Console' log-line does indicate so far, that it is not a call-stack triggered by Visforms code, simply because the Visforms code only reads the property if the property exists (to prevent this situation 'Cannot read properties of null').

We might take a real quick look at your problem to see, if we might exclude Visforms from causally causing the trouble.
Just state the link or send via email, if any login is required.

I hope you do understand that we can not completely analyze the problem and come up with an explanation/solution in cases where Visforms is not causing the trouble.

Best regards, Ingmar

: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 :-).
Last edit: 2 years 8 months ago by Administrator IV.

More
2 years 8 months ago #8007 by sjb1963
Replied by sjb1963 on topic Search Tools do not display on front end
Honesly, I do not care one little bit if no one else has reported this issue, so that is not the way to dodge supporting the product I paid good money for.

THIS IS THE ABSOLUTE WORST SUPPORT RESPONSE I HAVE HEARD IN 35 YEARS: "no one else is doing it, it must be you"

I am glad you're confident in your abilities, however, If you'll look at the LAST ticket I submitted, the source was INDEED YOU.

Of course I need you to look into it.
Your website does not even offer a way for me to provide the necessary credentials to allow this (privately, without wasting 2 days in the process), so here I am, 2 days later FINALLY providing the information necessary.

Don't fantasize that just because you say it's not you that I am going to accept that and waste my time running around in circles without any proof.

Since there is still no way to provide my information to you privately, I guess I'll have to reply on email to send it.

More
2 years 8 months ago - 2 years 8 months ago #8009 by MaliRaj
Replied by MaliRaj on topic Search Tools do not display on front end
The sound makes the music... (German proverb) ...
not

"no one else is doing it, it must be you"

but "it's probably"

SearchTools work perfectly for me.
Of course I have a different system environment.
 

Freundliche Grüße aus PM
Heinz
(Joomla 5.1.2 / Visforms+Subscription 5.12 / PHP 8.2)
Last edit: 2 years 8 months ago by MaliRaj.

More
2 years 8 months ago - 2 years 8 months ago #8034 by Administrator AV
Replied by Administrator AV on topic Search Tools do not display on front end
Hi,

thanks for providing a link, so that we were able to take a look at the website.

There is a problem with the Javascript on the website.
The tooltips are created, using the respective Joomla framework functions.
The bootstrap Javascript framework is loaded, again using the respective Joomla framework functions and the bootstrap Javascript provided by Joomla.
Including a Javascript framework using the respective Joomla framework functions insures, that each Javascript framework is loaded only once:
In a framework like Joomla, where it is possible to use third party extension, this is absolutely necessary in order to prevent Javascript incompatibilities.
On your website, sadly, the bootstrap Javascript framework is loaded (late) a second time, not using the proper Joomla framework functions and the bootstrap Javascript file provided by Joomla.
As a result, there is a Javascript incompatibility on your website.
This incompatibility results in the Javascript null error.

We have improved our Javascript code, so that it prevents this null error.
Nevertheless the code cannot work as expected, because the expected bootstrap objects are just not there, due to the second, late loaded bootstrap Javascript.
The improvements simple ensure, that our code will not be totally broken anymore.
And in your case hopefully the search filters can be used again.

The changes will be part of the next Visforms/Subscription release.

Please note that the way in which the bootstrap Javascript is included a second time on your website, creates Javascript incompatibilities with any code, that uses the bootstrap Javascript.

Here is a preview of our codeimprovments.

media/com_visforms/js/jquery.searchtools.js
Replace line 124
Code:
tooltip.hide();

with
Code:
if (tooltip !== 'undefined' && tooltip !== null) { tooltip.hide(); }

plugins/content/vfdataview/tmpl/default.php
Replace line 199
Code:
tooltip.hide();

with
Code:
if (tooltip !== 'undefined' && tooltip !== null) { tooltip.hide(); }

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 :-).
Last edit: 2 years 8 months ago by Administrator AV.

More
2 years 7 months ago #8071 by Administrator IV
Replied by Administrator IV on topic Search Tools do not display on front end
Hi together,

the bug is fixed in the latest release from 05.04.2022 for Joomla 4:
Visforms 4.1.5
Visforms Subscription 4.1.3

Greetings, Ingmar

: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

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum