Skip Navigation

[Resolved] Adding outpts from two views

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 33 replies, has 3 voices.

Last updated by Minesh 6 months ago.

Assisted by: Minesh.

Author
Posts
#2699849
v1.jpg

Minesh
As per yur request I have splitted these two:

https://toolset.com/forums/topic/splitted-for-minesh-cannot-save-view-after-dragging-moving-copying-pasting-it/

https://toolset.com/forums/topic/splitted-for-minesh-view-ordering-ranzomization-occasionally-removes-posts/

But I think these other two belong to here because are specific to page aa3:

I have added a new filter to the view(s) like "Banner page is a number equal to [wpv-post-id]" (current page ID), but it doesn't work as expected. In page aa3 I have set the three banners to be shown but adding this filter (I did it on the mid banner, 4464 is the contact page) they disappear, meaning that there is something wrong in the filter. Please try yourself. Any idea why this happens? could the filter fail due to those annoying question marks appearing sometimes ?

Another strange thing: in the editor the output of the first view (the banner) is shown, the other two aren't, but they work on the page ....!?!?! see picture
thanks

#2699920

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I have added a new filter to the view(s) like "Banner page is a number equal to [wpv-post-id]" (current page ID), but it doesn't work as expected. In page aa3 I have set the three banners to be shown but adding this filter (I did it on the mid banner, 4464 is the contact page) they disappear, meaning that there is something wrong in the filter. Please try yourself. Any idea why this happens? could the filter fail due to those annoying question marks appearing sometimes ?
==>
To what view you have added and what posts now you want to display.

It is really confusing that you are dragging this test page for various other implementations with different filters.

Can you please be precise with your requirement and accordingly I will be able to guide you in the right direction.

Now, with what view you want what and what filters you want to apply and what is your expected results.

#2699926

In page aa3 now there are three views. They are actually the same view we were working on (snippet) repeated, the only difference is that the first one displays the banner depending on the content of banner-position field: at the top of the page (position=1), the second in the middle (position=2) and the third one at the bottom (position=3). This filter works, no problem.

If I add a new filter "Banner page is a number equal to [wpv-post-id]" to let the banner display only if the page id is the same of what selected in the banner-page field (see the field group) the banner never shows even though the ID is the same. My question to you is: could the filter fail due to those annoying question marks appearing sometimes (see paragraphs) ? or any other hidden character ? how to fix this ?

I have added some more banners. Currently I applied the banner-page filter only to the mid position and nothing is displayed as you can see. Feel free to add the same filter to the other views and check.

Another strange thing: in the editor the output of the first view (the banner) is shown, the other two aren't, but they work on the page ....!?!?! see picture

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

https://toolset.com/forums/topic/split-adding-outpts-from-two-views-filter-view-with-current-page/

#2699934

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've split the ticket with your last reply and I will follow up on that with the following split ticket.
- https://toolset.com/forums/topic/split-adding-outpts-from-two-views-filter-view-with-current-page/

You can mark resolve this ticket as the original question for this ticket is already address regarding combining the two view results.