Skip Navigation

[Resolved] Split: Filtering views for specific pages

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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 15 replies, has 3 voices.

Last updated by Minesh 1 month, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2751395

Hi Minesh, it was a great help from you. During the weekend I created other pages with this technique as well. However, I am facing an issue that pictures are not being loaded on these pages.

To give you example, please follow the pages below.

hidden link
hidden link

#2751406

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I see you are using WP Rocket, Can you please follow the following guide and try to exclude those mentioned JS and CSS files with the following Doc from minification:
=> https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/

Does that helps?

#2754078

Hi Minesh, I even completely disabled WP Rocket but the pictures aren't still being loaded.

My other pages are just fine, but the recently created pages have this problem. Could you please have a look deeper?

Thank you very much!

The following file is causing the issue as far as I can see from the console.

hidden link

#2754901

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The issue is how you build the view's output.

*** Please make a FULL BACKUP of your database and website.***

If you check the original view block and under the view's output section:
- hidden link

The way you added the block as raw html output is not recommended, please check the following screenshot:
- hidden link

Here is the Doc that shows how you can build your view's loop output using blocks:
- https://toolset.com/course-lesson/creating-a-custom-search/

So I suggest either you should add a container block or Grid block and within container block add your required blocks to display the content within the view's loop and save the view.

Can you first do this modification and then I will take care of the next steps. Because we need to copy the original view to filter with shorcode attribute.

#2756251

Hi Minesh,

I had to use a custom design with HTML output because I needed a design like this at the beginning. It couldn't manage to reach this style with regular Gutenberg blocks.

It was working so well before without having any picture issues and recently started having this problem on another coliving page as well. But the same style doesn't cause any issues on the Homestay page.

I am not too sure how to do it with blocks, to be honest. At the end of the day, it is the same thing because your custom fields are also using HTML and CSS with the data source.

I have the data source over there and started causing an issue for some reason.

"EDITED": I am trying to create but the part I am trying to add static text next to a variable is giving an error. It is super duper annoying that it has to "attempt block recovery" all the time.

Just trying to add "$" sign before the price and giving an error. If it is not going to work properly with "HTML" version, why do you guys even put it here?

<div class="tb-field" data-toolset-blocks-field="1" data-last-update="1.4">[types field='room-price' output='normal' format='FIELD_VALUE'][/types]</div>

I am extremely frustrated with this!

#2756324

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I know its frustrating but the HTML thing and HTML generated by block and to put thing within that is different thing.

You see it working sometimes as you have cache plugin installed and after sometime there are high chances that you will again see it not working.

In this case for such a customization required with HTML content with views, I suggest you should go ahead and use the legacy views.

Please check the following view created in legacy mode:
- hidden link

You can add your required HTML and CSS or JS and its easy to edit and manage as well. I've added the above test view to following test page:
- hidden link

Once you are done with modifying the HTML and CSS as required later on we will try to use this view with the problem URL where you added the view using Divi builder.

Following links may help you:
- https://toolset.com/documentation/legacy-features/views-plugin/front-page-filters/
- https://toolset.com/documentation/legacy-features/views-plugin/view-layouts-101/

#2757102
Screenshot 2024-09-25 at 10.14.06 AM.png

I tried to close the ticket before your reply yesterday but it seems still active. Much appreciated for your support.

I found another solution to fix the issue. Please feel free to close the ticket. Hopefully Toolset will work on these glitches to solve these types of issues.

#2761845

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thanks for your feedback.

#2761902
Screenshot 2024-09-27 at 7.14.03 AM.png

Hi Minesh, I was trying to work on the view you created with the legacy mode but it is worse than what we have right now.

I have been trying to solve this issue for a month and still, there is no solution. The way you want me to create is neither getting into shape properly nor showing the results properly on the mobile.

This legacy mode design is difficult to design and takes forever to load when viewing it. I am apprehensive about using Toolset anymore after setting the entire website on this plugin.

With the version that we already have, pictures are working just fine when we are logged in. But they don't get uploaded properly on the live environment. If something is not working, it is not supposed to work at all the time.

But here, the view I created in the past, it sometimes shows pictures with no problem, sometimes it doesn't... It completely works fine when we are logged in as an admin. But it doesn't work in the live environment all the time.

This file is causing an issue...

hidden link

#2761924

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - once the ticket is resolved system automatically deletes the access information.

Can you please send me admin access details as well as on what page you have issue with now.

*** 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.

#2762830

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Unfortunately, the user/pass you shared with the private access details is not working at this end.

Can you please send me working admin access details.

In addition to that, can you point me out where exactly you have issue now on what page?

*** 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.

#2763488

Christopher Amirian
Supporter

Languages: English (English )

Hi,

This is Christopher. I'm here to inform you that Minesh will not be available today. He will answer the question tomorrow.

I tested the login information and it works ok. So Minesh will have the necessary information to continue the investigation tomorrow.

Thank you for your patience.

#2765259

Hi Chris, thank you for the update. I hope Minesh is okay, that's the most important part.

I am looking forward to having him back and solving this issue permanently.

#2766298

Hi Toolset team, hopefully we can solve this problem before the weekend because it will be delayed 3 more days again due to the weekend.

Thank you very much for your support.

#2766382

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I can see with both the links you shared:
- hidden link
- hidden link

I can see the pictures as expected. Can you please confirm it's working as expected?

I've added the following lines to WP Rocket plugin setting's to exclude those files from minification:
JS/Javascript:
=> hidden link

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

AND excluded following CSS files from minification:

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:
=> https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/