Navigation überspringen

[Gelöst] Issue with view

This support ticket is created vor 5 Jahren. 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)

Dieses Thema enthält 5 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von larryL vor 5 Jahren.

Assistiert von: Luo Yang.

Author
Artikel
#1400057

Hi, this issue is similar to one I worked on with Christian in https://toolset.com/forums/topic/list-items-in-view-from-another-cpt/ but for some reason I'm running into some weirdness.

I followed (I think) the same process to bring related items into the table and nothing is showing up. Even if I just put random text in the column in the view it will not show. I can't figure out what i'm doing wrong.

In the primary view I added the following:

<td>[wpv-view name="project-builds-inline" cached="off"]</td>

But even if I add <td>asdasdasdsa</td> that will not display either.

Please help!

#1400359

Hello,

The credentials you provided in previous thread was removed to protect your privacy.:
https://toolset.com/forums/topic/list-items-in-view-from-another-cpt/#post-1393405

Please provide your website credentials in below private message box, also point out the problem page URL and view URL, where I can see the problem as you mentioned above, thanks

#1401313

Thanks for the details, I can log into your website and see the problem, and I have done below modification in your website, edit the post view "Project Dasboard - Active":
versteckter Link

in section "Loop Editor", line 20, replace the content template shortcode from:
[wpv-post-body view_template="loop-item-in-project-dashboard"]

To:
[wpv-post-body view_template="loop-item-in-project-dasboard-active"]

Please test again, check if it is fixed. thanks

#1401635

No items found. I double checked and made sure there were build that existed related to the project and version.

#1402391
Builds1.JPG

I assume you are going to display related "Builds" depends on parent post view.

I have done below modifications in your website:
1) Edit the post view "Project Builds - Inline", in section "Query Filter", change it to:
Select posts in a Projects Builds relationship that are a related to the current post in the loop.
versteckter Link

2) Edit a "Project" post: My Project Dev Test 4
versteckter Link
In section "Projects Builds", connect to a "Builds" post: 1

Test it in front-end,
versteckter Link

I can see it works fine, see screenshot: Builds1.JPG

#1403205

My issue is resolved now. Thank you!