Skip Navigation

[Resolved] Separating a View into a search form and results in Views cell duplicates form

This support ticket is created 6 years, 6 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 9 replies, has 2 voices.

Last updated by seanM-6 6 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#858914
views-bug-with-form-layout.PNG
views-bug-with-form.PNG

I am trying to: I have a layout of Grid. Row 1 i have 2 columns in first i want to show the View form and in the second i want to show the View.

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

I expected to see: The form to filter the view.

Instead, I got: The form is not filtering the result and the view has another firm inside of it which makes it duplicate forms.

I have read(https://toolset.com/errata/separating-a-view-into-a-search-form-and-results-in-views-cell-duplicates-the-form/#comment-341869 this) and i removed the View cells and place 2 shortcode in 2 diffrent visual editors.
in 1 i place [wpv-form-view name="woocommerce-productfilter" target_id="self" cached="off"]
and they other i place [wpv-view name="woocommerce-productfilter" view_display="layout" cached="off"].

#861560

Shane
Supporter

Languages: English (English )

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

Hi Sean,

Thank you for contacting our support forum.

Could you add the search button to the search form and let me know if the issue still remains.

Thanks,
Shane

#865012

Hello Shane,

I have added Submit + Reset buttons and still no effect.
I have changed search type to "AJAX results update when visitors click on the search button" instead of "AJAX results update when visitors change any filter values" and still no effect

I have included the login information you can check it out if you want.

#867899

Shane
Supporter

Languages: English (English )

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

Hi Sean,

I tried to navigate to the login page so that I could log in and check on this for you but i'm getting a page not found error.

Could you check on this and let me know the page to use so that I can login.

Thanks,
Shane

#868280

Shane,

Login URL hidden link works?
and you can use hidden link

#870245

Shane
Supporter

Languages: English (English )

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

Hi Sean,

Would you mind if I took a duplicator package from your website for further testing on this ?

Thanks,
Shane

#872623

Hi Shane,

Yeah sure you can take a package.

#876851

Shane
Supporter

Languages: English (English )

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

Hi Sean,

Thank you I managed to test this for you.

I managed to get this to work when I recreated the view. Not sure why the original is not working but when I created a new view it works fine.

Thanks,
Shane

#879940

Hi Shane,

I just did the same and it's the same thing.
When i go URL(hidden link;?wpv_aux_current_post_id=64) the ajax filter works and when i remove that query args then it wont work, bug maby?

This URL(hidden link) works!

This URL(hidden link) does NOT work!

#879941

Found the solution my self.
It was excluding by default the current page from the view with the query arg.
After unchecking Query Options > Don't include current page in query result the view seems to work fine.

Thanks for the help!