Skip Navigation

[Resolved] View excluding posts in another view

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

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

Tagged: 

This topic contains 6 replies, has 3 voices.

Last updated by gavinS 8 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#355422

Looks like I closed this thread too quickly:

https://toolset.com/forums/topic/show-parents-where-children-have-no-date-fields-more-recent-than-3-months/

I am still having a problem. I would prefer if Luoy could help me if possible as he has been helping me with it up till now.

#355537

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Luo is on vacation and he will be back on next Monday. I'll forward this ticket to him and he will get in touch with you as soon as possible .

#355769

Dear gavin,

I assume we are talking about this post:
https://toolset.com/forums/topic/show-parents-where-children-have-no-date-fields-more-recent-than-3-months/#post-355404

Q1) Is that about right?
Yes, you are right

Q2) I'm not completely clear on what (1) is for?
The step 1) is creating a custom shortcode to hide some extra div, output from view's shortcode:
[wpv-layout-start] and [wpv-layout-end]
You can see it in view:
hidden link

section "Loop Output"

#355788

Hi Minesh

I'm not sure if Luoy will get this? It just has your name below.. Please forward this to him:

Thanks man. I've tried to move this onto my real site, and now it doesn't seem to be working.

Please enable the private details section so I can let you in. Maybe you can see what I've done wrong?

#355792

OK, I just enabled the private detail box, please provide the FTP access and wordpress credentials, also point out the problem view URL and page URL, thanks

#356010

Thanks for the details, the view in your website "Communication in last 3 months":
hidden link
which should output only the post IDs as below format:
123, 456, 789

So I edit it, section "Loop Output", modified it from:

<h3>Company ID's with communication in last 90 days</h3>
[hide-it][wpv-layout-start][/hide-it]
	[wpv-items-found]
	<!-- wpv-loop-start -->
	<ul class="wpv-loop js-wpv-loop">
		<wpv-loop>
			[wpv-post-id id="$company"]
		</wpv-loop>
	</ul>
	<!-- wpv-loop-end -->
	[/wpv-items-found]
	[wpv-no-items-found]
		<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
	[/wpv-no-items-found]
[hide-it][wpv-layout-end][/hide-it]

To:

[hide-it][wpv-layout-start][/hide-it]
	[wpv-items-found]
	<!-- wpv-loop-start -->
		<wpv-loop>
			[wpv-post-id id="$company"],
		</wpv-loop>
	<!-- wpv-loop-end -->
	[/wpv-items-found]
	[wpv-no-items-found]
		<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
	[/wpv-no-items-found]
[hide-it][wpv-layout-end][/hide-it]

Please test again, check if it is fixed or not, thanks

#356037

Yay. Thanks Luoy.

All sorted.

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.