• Resolved muppix

    (@muppix)


    I’m trying to expand a sporting club’s WordPress site to include competition results, and although the example I’m going to outline here is an oversimplification of the final goal, finding a solution to this use case will hopefully give me the info I need to go away and complete the bigger picture.

    Let’s say that all the club’s members are registered users of the site. I’ve created a new Pod called competitions. For each competition I want to attach multiple users (i.e. competitors) and save their scores. (The next step will be to view this from a competitor’s perspective and list all the competitions they entered along with their scores, but for now all I want to do is add one or more competitors to each competition, and enter a score for each)

    All I’ve managed to do so far is create my competitions Pod and one field, a multi-select competitors. What I really want is to add a text field for each competitor and hold their score, but I can’t find a way of doing that.

    Well, I can find a way: create another Pod called scores and use that to unite competitor and competition, then reference the scores Pod from the competition Pod instead of referencing the competitor. But at some point I’m going to have to ‘sell’ this long-winded process back to the current users, who still aren’t sure why they can’t just go on using HTML tables in the WYSIWYG editor, and they’re just not going to like this at all. Because it’s clunky.

    Is there a better way, something I’ve missed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    create another Pod called scores and use that to unite competitor and competition, then reference the scores Pod from the competition Pod instead of referencing the competitor.

    This is actually the best way at the moment. We do not support field groups (yet).
    You can use the List View to allow adding items from within the edit screen.

    Cheers, Jory

    Thread Starter muppix

    (@muppix)

    UPDATE: I found how list view works. Just trying to see how I can make entry of new scores easier directly from the competition page, i.e. pre-selecting the right competition since we know that, and finding a meaningful value to be displayed in list view for the scores already attached.

    Thanks for the response Jory, I appreciate it. Can you please point me to a resource that shows how I might add items from within the edit screen using List View?

    Ideally I would have a club official entering scores while the competition is in progress, but it’s got to be quick and easy since we usually have around 20 competitors and 4 or 5 rounds within a competition. Creating 100 Scores records one-by-one isn’t going to be quick or easy, but if I could do it using some kind of spreadsheet-like grid that might work.

    • This reply was modified 4 years, 2 months ago by muppix.
    • This reply was modified 4 years, 2 months ago by muppix.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Guidance needed: linking users to a Pod’ is closed to new replies.