Hi @igianni84
Please try this javascript code to reload the member directory when you hit on the “Coach” button. You can add it in your theme customizer’s scripts editor.
jQuery(document).ready(function(){
jQuery("#fusion-tab-coach").on("click",function(){
jQuery( window ).trigger( 'resize' );
});
});
Regards,
Thanks for the reply. I added the code you indicated, but the problem persists 🙁
Hi @igianni84
Please try clearing your browser cache o open the member directory page in incognito browser.
I just test and it works on our end.
Regards,
Hi @champsupertramp would you help me solve the problem?
Hi @igianni84
Could you please try the following code? I added another code line.
jQuery(document).ready(function(){
jQuery("#fusion-tab-coach").on("click",function(){
jQuery( window ).trigger( 'resize' );
jQuery( window ).trigger( 'load' );
});
});
Let me know if you’re still encountering any issues.
Regards,
@champsupertramp thanks for your support, but the problem is the same 🙁
Anyone helping me understand why the plugin isn’t working?
@champsupertramp any news for me? 🙁
Hi @igianni84
The problem is that you’re adding the UM Member directory to your custom Theme tab feature which is not compatible with how we developed the directory. I’ve provided a code that should fix the issue or you can modify it to resolve on your end.
Regards,
@champsupertramp I have used your code, but the problem is the same…
Anyone who can solve this problem?
@champsupertramp I understand your point of view, but it is not possible to blame the template or the fact that it was put on a tab. They are things that everyone does … everyday things … The template I used is the most downloaded in the world!
You cannot blame the fact that it is used in a tab (a completely harmless and widely used element on the web).
I think a little effort in helping me you could do it … helping also other users like me have this problem.
Hi @igianni84
As I stated above, UM Directory has a script that loads the results on page load. If you’re adding it in a tab that doesn’t trigger the reloading process, it won’t work. I suggest that you hire a developer as this custom work goes beyond our support. I already provided a guide for the custom code above.
Regards,