Skip Navigation

[Resolved] View Taking over entire page

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

Problem: I have a View on my page followed by some other content. It seems that the other content is moved inside the View's form tag, and included in the View.

Solution: Check the HTML syntax of the View's Search and Pagination editor. In this case, some unclosed tags were responsible for the rendering issue.

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

Last updated by mikeF-8 5 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1212181
chrome_2019-03-09_14-56-52.png
chrome_2019-03-09_14-55-44.png

I have attached images of what is appearing in my page builder and what is appearing on the front end. Everything below the view is being put into a container below the search view. hidden link

If I remove the view, everything is as expected. Entering the view turns it into this. Search results are to appear on another page.

#1212346

Hi, it looks like the following modules are contained in the search View's form tag, which is unusual. Can you edit this View and scroll down to the Search and Pagination editor panel? Copy + paste the contents of that panel here for me to review.

#1212669

thank you.

[wpv-filter-start hide="false"]
[wpv-filter-controls]
<table style="width:100%">
<div class="text-field"><div class="form-group">
	<label>[wpml-string context="wpv-views"]Text[/wpml-string]</label>
	[wpv-filter-search-box output="bootstrap"]
</div>
<div class="business-field"><div class="form-group">
	<label>[wpml-string context="wpv-views"]Business Categories[/wpml-string]</label>
	[wpv-control-post-taxonomy taxonomy="business-category" type="select" url_param="wpv-business-category"]
	</div>
<div class="city-field"><div class="form-group">
	<label>[wpml-string context="wpv-views"]City[/wpml-string]</label>
	[wpv-control-postmeta field="wpcf-city-of-business-location" url_param="wpv-wpcf-city-of-business-location"]
  </div>
  [wpv-filter-submit output="bootstrap" class="et_pb_button"]
[/wpv-filter-controls]
[wpv-filter-end] 
#1212778

Okay please check your HTML syntax. There are several unclosed div tags and an unclosed table tag. Each opening div tag should have a matching closing div tag, and the unclosed table tag should be removed completely since it doesn't seem to be used for anything. Here's an update to try:

[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="text-field">
  <div class="form-group">
    <label>[wpml-string context="wpv-views"]Text[/wpml-string]</label>
    [wpv-filter-search-box output="bootstrap"]
  </div>
</div>
<div class="business-field">
  <div class="form-group">
    <label>[wpml-string context="wpv-views"]Business Categories[/wpml-string]</label>
    [wpv-control-post-taxonomy taxonomy="business-category" type="select" url_param="wpv-business-category"]
  </div>
</div>
<div class="city-field">
  <div class="form-group">
    <label>[wpml-string context="wpv-views"]City[/wpml-string]</label>
    [wpv-control-postmeta field="wpcf-city-of-business-location" url_param="wpv-wpcf-city-of-business-location"]
  </div>
</div>
[wpv-filter-submit output="bootstrap" class="et_pb_button"]
[/wpv-filter-controls]
[wpv-filter-end] 

Please modify your code to match this and let me know the results.

#1212781

Ugh. My apologies. That's just careless on my part. I'm certainly in over my head trying to do something of these things, but this was just careless.

Some of that mess was me struggling to get to a horizontal menu. I think my last act of desperation was trying to use a table, which I didn't clean up afterward.

Thanks so much.

#1213450

Shane
Supporter

Languages: English (English )

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

Hi Mike,

Christian is sick today but should be back tomorrow to continue without you.

However if the issue has been resolved than you can just mark the ticket as resolved.

Thanks,
Shane

#1213512

My issue is resolved now. Thank you!