Skip Navigation

[Resolved] View grid / tabel results not as expected

This support ticket is created 4 years, 3 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
- 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)

Tagged: 

This topic contains 35 replies, has 2 voices.

Last updated by tracyN 4 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1838709

Hi there, please can this post be private and not on public display.

I'm trying to replace a no longer supported / faulty plugin used to display a list of shows at a theatre - it was a massonry grid showing custom post type posts (events). I've created a view and am displaying it on test page /test1/ Password 09NOV2020?*

It has 6 columns - but the columns aren't of even width.

Plus I only want to show the Featured Post Image and the Post Title (with link) underneath and believe I have selected just these fields to be displayed but more content is showing in the grid.

Also I want to be able to a user filtering option above the grid for users to be able to select by custom post categories and for the shows displayed to change /be filtered accordingly. Is this the best way to achieve this?:
https://toolset.com/documentation/user-guides/views/filtering-posts-by-user-selected-taxonomy/

I'm using the WP classic editor (it's an old site) not blocks.

Many thanks for your help in advance.

#1838987

Shane
Supporter

Languages: English (English )

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

Hi Tracy,

Unfortunately i'm not able to see the page that you've sent the password for as there is no link for the site.

Secondly all communications are public unless they are sent in the private fields. However based on what you are explaining the documentation that you've sent should be able to guide you through setting up your view with the filters.

If you run into any specific issues with setting it up you can let me know and we take it from there.

Thanks,
Shane

#1839061

Hi Shane,

Sorry if it wasn't clear - you have the site name and I gave the page name in my previous message - I don't want to explicitly give a link / url if this is not private.

Hopefully you have the info you need now?

Many thanks in advance.

#1839083

Shane
Supporter

Languages: English (English )

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

Hi Tracy,

I was able to log in but the access has been blocked by the wordfence plugin. If you need my IP to unblock you can see it below.
67.230.78.178

Also given that the document highlights how to achieve this i'm not sure what else to assist with.

Finally even though our documentation on Blocks is different the concept is essentially the same with our classic view setup. Follow the documentation below.
https://toolset.com/course-lesson/creating-a-custom-search/

In the classic editor you will click on New filter given that you've created a search view.

Please let me know.

Thanks,
Shane

#1839101

Hi Shane,

The page should be visible and not be blocked by WordFence from the front end.

If you need to be able to log in to the back end please let me know how to provide you with the login info securely and not publicly.

I need help with the layout not being as expected - as mentioned previously...

1) It has 6 columns - but the columns aren't of even width.

2) Plus I only want to show the Featured Post Image and the Post Title (with link) underneath and believe I have selected just these fields to be displayed but more content is showing in the grid.

With regard to the other matter of a user filter - I will look at this myself when the layout issues are fixed, thanks for confirming the info I found is the best way to do it.

Many thanks.

#1839277

Shane
Supporter

Languages: English (English )

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

Screenshot 2020-11-09 at 1.47.48 PM.png

Hi Tracy,

In order to see the page i must be logged in with the credentials that you've initially provided. See the screenshot

My IP needs to be allowed in order for me to log in and to navigate to the page itself.

This is mainly because you mentioned that the page is called "Test Page" but i don't know the actual link so I would need to find it on the backend.

Thanks,
Shane

#1839669

Hi Shane,

I haven't provided any wordpress login username and password - if you need these then please let me know how I can provide this info securely and privately?

I have provided the URL / path name already for this page which is /test1/ I have only provided the password for the test page - the test page itself has a password on it.

It looks like you have tried to log in with the username test1 - which is not valid so you have been logged out.

I hope that clarifies things - I can provide a temporary logon if needed.

Many thanks.

#1841149

I have just seen your message from yesterday and have now added your IP to the Whitelist in Wodrfence.

Many thanks.

#1841537

Shane
Supporter

Languages: English (English )

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

Hi Tracy,

Still no luck. Perhaps you can record a short video of your setup on the backend so that I can have a look? This can help to speed things up a little since me not able to log in is causing a bit of delays.

Thanks,
Shane

#1842017

Hi Shane,
It looks like your IP address has changed - please provide your IP for today and I will add it.
Many thanks.

#1842019
screencapture-2020-11-12-10_40_01 A.png

Hi here is a screen grab also of the views page / settings.
Many thanks again.

#1842421

Hi Shane, only just seen you rmessage as didn't get an email alert for the private message.
I have done as asked , please try again.
Many thanks

#1842621

Shane
Supporter

Languages: English (English )

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

Hi Tracy,

I'm not sure what is happening here but it seems that the post body shortcode is being overwritten by another plugin.

You can work around this by adding the shortcodes for the view template directly to the view loop rather than using a content template. Example

<wpv-loop wrap="4" pad="true">
		[wpv-item index=1]
		<tr>
			<td>
				[wpv-post-featured-image]
[wpv-post-link]
			</td>
		[wpv-item index=other]
			<td>
				[wpv-post-featured-image]
[wpv-post-link]
			</td>
		[wpv-item index=5]
			<td>
				[wpv-post-featured-image]
[wpv-post-link]
			</td>
		</tr>
		[wpv-item index=pad]
			<td></td>
		[wpv-item index=pad-last]
			<td></td>
		</tr>
	</wpv-loop>

A part from doing this, the only other option is to temporarily disable all the non-toolset plugins and try again to see if the correct template shows up.

Thanks,
Shane

#1843731

Thanks Shane,

I think it's the theme that is overwriting things.

As I think I've had to do this before on another website I tried using the 'enable theme support debugging' setting in the Toolset Settings / Front end content / Theme support for Content Templates - but nothing appeared on screen - do I also have to set the debug option in the Debug Mode section on this settings page too?

I also added tried what you suggested and it's looking more like it needs to but now I'm not using the content template I'm not sure how to make the table look right, currently the table columns aren't even and when a title is longer it looks like this is making the column width wider. They all need to be equal - its the image that should set the width not the text.

Many thanks again for all your help.

#1843797

Shane
Supporter

Languages: English (English )

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

Hi Tracy,

This is because the table is re-adjusting based on the width of the text. In order to have a fixed column width you must use the column width attribute. Have a look at the instructions in the link below in order to do this.
hidden link.

As I think I've had to do this before on another website I tried using the 'enable theme support debugging' setting in the Toolset Settings / Front end content / Theme support for Content Templates - but nothing appeared on screen - do I also have to set the debug option in the Debug Mode section on this settings page too?

The content template debug won't be able to assist with this as this is for when the content template isn't displaying for a page. This is a view's content template so it shouldn't get overwritten but your theme may not be scoping the it's templates correctly.

Please let me know if this helps.
Thanks,
Shane