Skip Navigation

[Resolved] make list view sort column

This support ticket is created 2 years, 1 month 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 12 replies, has 3 voices.

Last updated by Luo Yang 2 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#2491471

Hi there,

I created a list view archive and want to know if I can have a sort header colmn like the below example.

my site
hidden link
example site
hidden link

Thanks

#2492005

Nigel
Supporter

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

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

Screenshot 2022-11-08 at 11.14.39.png

Hi there

There is an option to output the results in a table format (screenshot), but there is no support for outputting the table with sortable column headers I'm afraid.

#2492175
2022-11-08_9-51-33.png

Im getting the following error when I try to create a view on archive page
see image

#2492511
view2.jpg

Hello,

For the new issue: Im getting the following error when I try to create a view on archive page

As the message mentioned in your screenshot, you can not setup the nested view block in Archive loop.

But it is possible with classic view, for example:
1) Follow our document to enable legacy editor
https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

2) Dashboard-> Toolset -> Views, create the child post view manually

3) In your screenshot
https://toolset.com/wp-content/uploads/2022/11/2492175-2022_11_08_9_51_33.png
WordPress Archive loop, add a view block-> Use existing View, choose the post view of step 2), see my screenshot view2.jpg

#2492931

There is no path
Dashboard-> Toolset -> Views

hidden link

#2492975

I activated legacy
still same issue
can you please check?

I even created a new page and tested on it.
Because I don't have the option table with header when doing archive page.
This is really confusing

hidden link
hidden link

#2492985

And I'm getting this message even though I have it on a test page

hidden link

hidden link

#2493269

First, there isn't "table with header" option in Toolset WordPress Archive(blocks editor or legacy editor).

My above answer is talking about your new issue: getting the following error when I try to create a view on archive page

You can setup the child post view with legacy editor, and display it in the Toolset WordPress Archive loop.

The message you mentioned in screenshot:
hidden link
It means you can not preview the child view block in the block's editor, but you can see the results in frontend.

Hope it is clear.

#2493745

I still dont understand what you mean.
Can you set it up for me on my site or as a demo?
maybe by seeing it I'll understand.
Not sure what child post you are talking about.

Thanks

#2493805

Ok I succeeded to set up the table.
hidden link

hidden link

Here's my new questions
1 - how do I remove the post title column?
2 - how do I activate the search fields for the view?
hidden link
3 - how do I style the search fields?

#2493809
#2493873

I was able to finally get the page going.
hidden link

How do I do the following
1 - design search like the one I did in archive loop (see image)
2 - align header titles (they look off a bit
3 - change read more text (maybe change it to a button)
4 - add sort

Here's my page URL
hidden link

Here are my settings
hidden link
hidden link
hidden link
hidden link
hidden link

Thanks in advance

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/heres-my-new-questions/

#2494155

According to our support policy, we prefer to one ticket one question.

For other new issues, please check the new thread here:
https://toolset.com/forums/topic/heres-my-new-questions/