Skip Navigation

[Resolved] Problem showing search and results at 2 different places in the same page

This thread is resolved. Here is a description of the problem and solution.

Problem: I have a problem showing the search and results sections of my View in two different parts of the page. When I place the View using two shortcodes, the search filters appear, but not the results. If I use a single shortcode to place the same View, both filters and results appear.

Solution: There is a problem in the markup of this View's Filter Editor panel. There is a div tag left unclosed, which results nested form tags when two separate Views shortcodes are used. Check your Filter Editor markup to confirm your HTML code is properly structured.

This support ticket is created 6 years, 9 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 2 voices.

Last updated by ericW-5 6 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#616421

I am trying to: on a page I want to insert a divi module showing search filters + another module showing results

Link to a page where the issue can be seen: hidden link

I expected to see: 1 filter module + 1 results list

Instead, I got: only the filter module

If I insert {!{wpv-form-view name='new-filter' target_id='self'}!} I can see the search filter
If I insert {!{wpv-view name='new-filter' view_display='layout'}!} in a divi module I cannot see the results

(but if I insert {!{wpv-view name='new-filter'}!} I can see both search and results)

#616457

Now I have a second issue.... most of images and several text contents no longer appear on my site... they show up only if I deactivate Toolset View.

Can you please help

Regards
Eric

New threads created by Christian Cox and linked to this one are listed below:

https://toolset.com/forums/topic/site-content-does-not-appear/

#616499

it is even more serious : I cleared the cache and deactivated all plugins... but the problem remains... I can see my pages in divi visual builder but most of the content disappears on the live site.

The only thing I did today was to show filters and results using toolset... Thanks in advance for your help

Eric

#616502

I give you an temporary admin access to the site :

- deleted by site admin -

#616528
Screen Shot 2018-02-15 at 1.39.25 PM.png

Okay I see why there was a problem. In the Filter Editor panel of the NEW FILTER View, there was div tag left unclosed. This resulted in one form nested inside another form - which is invalid HTML. This is why the results did not appear as expected. I added the closing div tag shown in the screenshot. Now it appears that the correct results are displayed, though I am not sure about the styles and formatting. I switched between Content Templates and I cannot remember what it should look like. Can you check and let me know if there are any problems with this View?

#616634

all solved -- thanks