Saltar navegación

[Resuelto] Views not working correctly after making changes

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
Views not working correctly

Solution:
There was a hard caching used from server side that is why the changes made to the view/page was not reflected.

Relevant Documentation:

This support ticket is created 4 years, 4 months ago. 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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 13 respuestas, tiene 2 mensajes.

Última actualización por carlosb-7 4 years, 4 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2291005
Captura de pantalla 2022-02-13 a las 12.55.53.png

Tell us what you are trying to do?
Im trying to implement a view in the homepage with results in another page. The matter that it doesnt work well. I create the view in other page with search button. I include the search box in the homepage, etc, but when I refresh the search box doesnt appear. When I try to work with the search box in the home page i get "This is the preview of the "xxxx" view. This view is used in following posts: XXX. And I cant work with it. What Im doing wrong?

Is there any documentation that you are following?
Yes, your courses

Is there a similar example that we can see?
Nop

What is the link to your site?
enlace oculto

#2291455

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Have you followed the steps given with the following Doc?
- https://toolset.com/course-lesson/displaying-search-results-on-a-different-page/

If yes, then I will require admin access details with information what view and where you want to add search form on what part of the page and where you want to display the search result with what page.

#2291751

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Just wanted to confirm that you want to display only search form on homepage for the "View Home" view - correct?
- If yes, what page you would like to configure as search result page?

#2291771

Yes.
Could be Resultados Franquicias.
enlace oculto

#2291839

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

It seems you must have hard cashing active from your server as even I disabled the WP Rocket plugin and removed the view from the content template, it still shows as the top and even I can see WP Rocket even though its disabled. Please check the following screenshot: enlace oculto

As you can see I've removed the view from top of the content template where it displayed empty column at top;
- enlace oculto

Can you please check and disabled the caching from your server.

#2291863

Hi Minesh, could be the CDN Network?

#2291925

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

I'm not sure but still I can see the same homepage and even WP Rocket is also still there even though its deactivated.

Can you please check with your server authority and check with them about server side cache and disable it.

#2291937

It is done.
I purged urls from CDN. Now its ok i think.

#2291943

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

So, I've correctly configured the view to display search form and search result page:
- enlace oculto

But still I do not see it in effect on frontend: enlace oculto

Maybe you will require to delete cache again.

#2291961

I clear it again,
Really I dont think it is becouse the cache, I think something is wrong in the code and simply the search box doesnt appear...
Is that possible?

#2291967

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

I can see the search form now and when I select one of the option from dropdown I can see it does displays the search result or search result page.

Please check the following video: enlace oculto

#2291977

It seems working well!!
The view is the same "View Home"?
Can I edit in the Inicio page?
Thanks

#2291979

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

The view is the same "View Home"?
=> Yes.

You can edit the view and then see how the view is configured on the content template:
- enlace oculto

Remove the existing view block and then try to add it again and confiture to display only search form and search result on your desired page as configured currently. Screenshot: enlace oculto

#2292093

My issue is resolved now. Thank you!