Skip Navigation

[Resolved] multiple views to be ordered by date

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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 2 voices.

Last updated by Paul 7 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#536613

Hi,

I currently have 3 separate views which I want to order by date regardless of the view each item is in.

So on the page, let says I have:

[wpv-view name="view1"]
[wpv-view name="view2"]
[wpv-view name="view3"]

I've had to split these into 3 separate views as opposed to having each option in one view and isolated by category, due to the individual customisation needed for the featured image for each category.

I've attempted to put each view into a parent view, which didn't function as needed. Any assistance provided on this would be greatly appreciated.

Many thanks.

#536701

Hi, I'm not quite sure I understand what you would like to accomplish. Can you provide an overview of the desired result, vs. the output of each View (include the dates) as you see it now? For example:

View 1 current output -
- Post 1, June 1 2017
- Post 2, June 30 2017
- Post 3, July 1 2017

View 2 current output -
- Post 4, June 10 2017
- Post 5, June 12 2017

View 3 current output -
- Post 6, March 1 2017

Desired result -
?

Any detail would be appreciated. Thanks!

#536801

Hi Christian, thanks for your message.

From your outline the desired result would be that the post displays in date order regardless of the view it's in, so:

- Post 6, March 1 2017 (View 3)
- Post 1, June 1 2017 (View 1)
- Post 4, June 10 2017 (View 2)
- Post 5, June 12 2017 (View 2)
- Post 2, June 30 2017 (View 1)
- Post 3, July 1 2017 (View 1)

As you can see the posts have been set-out in date order. How would we go about doing this?

Many thanks.

#536802

There's no good way to split output from multiple single Views apart and reorganize it with the output split apart from other Views. This would be ridiculously difficult to manage as the complexity and length of a View increases above a few rows. You should use a single View to sort the full result set by date. You mentioned that you thought it was not possible to use just one View - can you explain in more detail why one View won't work? I might be able to give you some advice on solving that problem effectively.

#536805

Duly noted. The reason we couldn't use a single view was due to the fact that we needed to have a custom thumbnail icon overlaid on the featured image per category. We couldn't see an easy or effective way to implement this without using multiple views with an assigned category.

#536811

Oh, we can definitely help you fix that up. Feel free to open another ticket if you need assistance.

#536816

No problem, will open another ticket and will refer to this one.

The forum ‘Types Community Support’ is closed to new topics and replies.