Display Pod Objects with a Specific Pick Field

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Duane Cilliers 2 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #165276

    Hey everyone.

    I have two pods. One for Trainers and one for Classes. There are several trainers in the trainers pod and several classes in the Classes pod.

    I have created a "multi-select pick" column for Trainers that is related to classes. So when adding a new trainer you can select which classes they teach.

    What I need to do is filter and display all trainers that teach say for example "puppy classes".

    Does anyone know how to go about doing this?

    #165277

    Kamil Grzegorczyk (Owi)
    Participant
    Post count: 14

    here You are

    #165278

    Okay, the comment came out horribly…

    So I’m going to post it as an answer…

    Thanks for the speedy reply. I’m sorry, but I’m a complete Pods noob, so I don’t quite understand how this code fits in.

    Here’s an example: On the general classes page (called "what we offer") I have a sidebar listing all the trainers. Here is the code…

    When someone selects a class, they are taken to a single class page. The single class page sidebar uses conditional tags to determine which class is being viewed.

    So if for instance, if Puppy Classes is being viewed I would like all the trainers that teach Puppy Classes listed in the sidebar. As mentioned before I use multi-select PICK relationship to relate classes to trainers.

    Thanks again.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting