Saltar navegación

[Resuelto] make list view sort column

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

Zona horaria del colaborador: Asia/Hong_Kong (GMT+08:00)

Este tema contiene 12 respuestas, tiene 3 mensajes.

Última actualización por Luo Yang 3 years, 7 months ago.

Asistido por: Luo Yang.

Autor
Mensajes
#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
enlace oculto
example site
enlace oculto

Thanks

#2492005

Nigel
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+01: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

enlace oculto

#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

enlace oculto
enlace oculto

#2492985

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

enlace oculto

enlace oculto

#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:
enlace oculto
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.
enlace oculto

enlace oculto

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?
enlace oculto
3 - how do I style the search fields?

#2493809
#2493873

I was able to finally get the page going.
enlace oculto

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
enlace oculto

Here are my settings
enlace oculto
enlace oculto
enlace oculto
enlace oculto
enlace oculto

Thanks in advance

Los hilos nuevos creados por Luo Yang y vinculados a este se encuentran a continuación:

https://toolset.com/es/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/