Skip Navigation

[Resolved] Building a search filter and view on two separate areas with Elementor

This support ticket is created 2 years, 8 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 3 voices.

Last updated by Shane 2 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2323485

Hey there! I'm building a search view with its results. I'd like to show them in 2 separate areas being one for the search-filter form and the other for the results. Results will show in a 3-column view. The entire website is being developed by blending Toolset with Elementor. Unfortunately, Toolset's widget on Elementor that could be used on each area to display each view separately is not working properly. I was informed about this months ago that, and the bug continues.

I've been coming and going with this project for long, you can read the unresolved thread over here https://toolset.com/forums/topic/building-a-search-view-inside-a-grid-block/

I've tried using a shortcode as well but is not loading. (And after all this time, I lost track of why it is still unresolved).

Please, I'd love to hear your words on this.

What is the link to your site?
hidden link

(You'll need access to it)

Thanks a lot for your time and support,
Luciana

#2323727

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Luciana

I just ran a quick test creating a search View with a grid layout and inserted it using the Elementor View widget, splitting the View so that the search form and search results showed in separate places on the same page.

It worked correctly, except for this known issue: https://toolset.com/errata/elementor-view-widget-for-split-views-doesnt-work-properly-for-block-based-views/

That erratum includes a workaround.

Is there some other problem you are facing?

#2330343

Hi Nigel,
Yes, indeed I do. If you followed the thread I mentioned above, you must've seen different workarounds we tried with the guys (including that one).
At the current time, I've decided to do the thing all over again.

The workaround mentioned in the link above for the known issue is not working for me. When I write:

[wpv-view name="Products" view_display="layout"]

nothing is loaded. The page remains blank.

So… I'm in need of assistance to get that loading and showing.

Thanks,
Luciana

#2330367

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Luciana,

Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?

I've enabled the private fields for your next response.

Thanks,
Shane

#2332135

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Luciana,

I was able to add the view to your page without any issues at all.
hidden link

Thanks,
Shane

#2332159
Captura de Pantalla 2022-04-01 a la(s) 18.12.12.png
Captura de Pantalla 2022-04-01 a la(s) 18.11.59.png

Hi Shane, thanks for your reply. I can see it showing in your test. The code I had written was identical but doesn't show. Any clues why?

With the view you added, however, the styles are not showing as in the original. If you check the view, you'll notice it's split into columns and styled in a way that is not loading here.

Thanks,

PS, by the way, is there a way I could edit the view's style with Elementor instead of having to use the Toolset builder?

#2333651

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Luciana,

It Appears that the css for our view isn't being loaded properly when its inserted onto the page when using elementor.

We can workaround this by using the following custom css.

.js-wpv-loop-wrapper > .tb-grid {
    grid-template-columns: minmax(0, 0.25fr) minmax(0, 0.25fr) minmax(0, 0.25fr) minmax(0, 0.25fr);
    grid-auto-flow: row;
}

This should restore your grid columns.

Thanks,
Shane