Passer la navigation

[Résolu] Views are not being displayed on the site

This support ticket is created Il y a 1 year, 7 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par Minesh Il y a 1 year, 7 months.

Assisté par: Minesh.

Auteur
Publications
#2779742

When I built this website, I created a content template, and at the bottom I created a View and below a map to show the address attached to each entry.

Please take a look a this video:

lien caché

If you see the page when logged in, the view and the map can be seen. But not when you see the site live.

Can you help with this?

#2779744

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

That is strange.

Can you please share problem URL and admin access details and let me check whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2779918

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

I see this the the content template we are talking about:
- lien caché

And I see you are trying to display the following single post of post type "asociacion" using the above content template:
- lien caché

May I know why you do not assign the above single post content template under the Usage section to "Association" post type?
- Please check the following screenshot: lien caché

#2779924
Edit-Content-Template-«Plantilla-Asociaciones»-TranslatorsHub-—-WordPress-10-30-2024_10_37_AM.png

Hi Minesh,
I did what you mention, and selected "Asociaciones" in Usage, but that does not solve the issue.
The View and the Map do not show up on the live version of the post:
lien caché

It was working fine when I built the site, but at a given point in time, it stopped working...
Even though, there are some posts where the Map do appear, and for the View, it says that "no matches" were found, like this one:

lien caché

Can you find out why?

#2779957

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

The strange thing is that, on the page you shared:
- lien caché

I can see the view is actually added to the above page source and available and if you check the HTML page source for the above page and locate the div with id wpv-view-layout-1231-TCPID220 I see that somehow it adds the style attribute with value visibility:hidden;

Then I see you are using WP rocket plugin and on the following WP Rocket settings page:
- lien caché

If I uncheck the option "Delay JavaScript execution" and save the settings then I can see the page is working as expected:
- lien caché

Here is the Doc that shows information how you should use optimization plugins with Toolset:
- https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/

In order to make sure everything should work smoothly and there should be no conflict, you should exclude those CSS and JS files as per the above Doc:

JS files should be excluded:

wp-content/plugins/types/vendor/toolset/common-es/public/toolset-common-es-frontend.js
wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/js/repetitive.js
wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/js/conditional.js
wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/js/main.js
wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/js/date.js
wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/js/validation.js
wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/jquery.validate.js
wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/additional-methods.min.js
wp-content/plugins/types/vendor/toolset/toolset-common/res/lib/bootstrap4/js/bootstrap.bundle.min.js
wp-content/plugins/types/vendor/toolset/toolset-common/res/lib/select2/select2.js
wp-content/plugins/types/vendor/toolset/toolset-common/res/lib/toolset-event-manager/toolset-event-manager.min.js
wp-content/plugins/types/vendor/toolset/toolset-common/res/js/toolset-select2-compatibility.js
wp-content/plugins/types/vendor/toolset/toolset-common/res/js/toolset-parser.js
wp-content/plugins/types/vendor/toolset/toolset-common/utility/js/utils.js
wp-content/plugins/types/vendor/toolset/toolset-common/visual-editor/res/js/codemirror/lib/codemirror.js
wp-content/plugins/types/vendor/toolset/toolset-common/visual-editor/res/js/icl_editor_addon_plugin.js
wp-content/plugins/toolset-maps/vendor/toolset/common-es/public/toolset-common-es-frontend.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/toolset-forms/js/repetitive.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/toolset-forms/js/conditional.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/toolset-forms/js/main.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/toolset-forms/js/date.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/toolset-forms/js/validation.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/jquery.validate.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/additional-methods.min.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/res/lib/bootstrap4/js/bootstrap.bundle.min.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/res/lib/select2/select2.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/res/lib/toolset-event-manager/toolset-event-manager.min.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/res/js/toolset-select2-compatibility.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/res/js/toolset-parser.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/utility/js/utils.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/visual-editor/res/js/codemirror/lib/codemirror.js
wp-content/plugins/toolset-maps/vendor/toolset/toolset-common/visual-editor/res/js/icl_editor_addon_plugin.js
wp-content/plugins/toolset-maps/resources/js/wpv_addon_maps.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/common-es/public/toolset-common-es-frontend.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/repetitive.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/conditional.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/main.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/date.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/js/validation.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/jquery.validate.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/additional-methods.min.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/res/lib/bootstrap4/js/bootstrap.bundle.min.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/res/lib/select2/select2.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/res/lib/toolset-event-manager/toolset-event-manager.min.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/res/js/toolset-select2-compatibility.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/res/js/toolset-parser.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/utility/js/utils.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/visual-editor/res/js/codemirror/lib/codemirror.js
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/visual-editor/res/js/icl_editor_addon_plugin.js
wp-content/plugins/cred-frontend-editor/public/js/frontend.js
wp-content/plugins/cred-frontend-editor/public/js/media_manager_basic.js
wp-content/plugins/cred-frontend-editor/public/js/select2_frontend.js
wp-content/plugins/toolset-blocks/vendor/toolset/common-es/public/toolset-common-es-frontend.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/toolset-forms/js/repetitive.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/toolset-forms/js/conditional.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/toolset-forms/js/main.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/toolset-forms/js/date.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/toolset-forms/js/validation.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/jquery.validate.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/additional-methods.min.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/res/lib/bootstrap4/js/bootstrap.bundle.min.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/res/lib/select2/select2.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/res/lib/toolset-event-manager/toolset-event-manager.min.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/res/js/toolset-select2-compatibility.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/res/js/toolset-parser.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/utility/js/utils.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/visual-editor/res/js/codemirror/lib/codemirror.js
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/visual-editor/res/js/icl_editor_addon_plugin.js
wp-content/plugins/toolset-blocks/public/js/views-frontend.js
wp-content/plugins/toolset-blocks/vendor/toolset/blocks/public/js/frontend.js
wp-content/plugins/toolset-blocks/vendor/toolset/blocks/public/vendor/glide/glide.min.js
wp-content/plugins/toolset-blocks/vendor/toolset/blocks/public/vendor/lightbox/js/lightbox.min.js
wp-content/plugins/types-access/vendor/toolset/common-es/public/toolset-common-es-frontend.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/toolset-forms/js/repetitive.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/toolset-forms/js/conditional.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/toolset-forms/js/main.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/toolset-forms/js/date.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/toolset-forms/js/validation.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/jquery.validate.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/toolset-forms/lib/js/jquery-form-validation/additional-methods.min.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/res/lib/bootstrap4/js/bootstrap.bundle.min.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/res/lib/select2/select2.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/res/lib/toolset-event-manager/toolset-event-manager.min.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/res/js/toolset-select2-compatibility.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/res/js/toolset-parser.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/utility/js/utils.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/visual-editor/res/js/codemirror/lib/codemirror.js
wp-content/plugins/types-access/vendor/toolset/toolset-common/visual-editor/res/js/icl_editor_addon_plugin.js
wp-content/plugins/woocommerce-views/library/toolset/woocommerce-views/res/js/wcviews-frontend.js

CSS files should be excluded:

wp-content/plugins/toolset-blocks/public/css/views-frontend.css
wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/res/lib/select2/select2.css
wp-content/plugins/toolset-maps/resources/css/toolset_maps_fixes.css

More info:
- lien caché

#2780027

Great. I see you changed that setting and everything is working as it should now.
Thanks!