Jump to content
lecrackffm

How to structure a list of Members

Recommended Posts

Hello, 

after working with PW for a while, im still unsure sometimes,  how to structure certain Data.

In this case it is a List of Members.

Each Member consists of his name and a list of his duties.

In the template file i need separate access to the name and the duties 

I was thinking about a Repeater Matrix with one textfield for the Membername, and a textarea with newline to UL for the duties?

What do you suggest how to structure the Data in the PW template ? Is there a better way?

Tips and suggestions more then welcome.

Thanks

Share this post


Link to post
Share on other sites

Are the duties "free-form"? Or do you have a structured set of duties? If the latter, I would pagefields.

I would do it without repeater matrix.

parent page Members + child pages with tpl member

Somewhere a parent page with child pages to store each duty.

Then just use two text fields (firstname + lastname - gives you more possibilities for sorting), plus pagefields (select or checkboxes) for duties.

You can control access rights on field-level.

  • Like 5

Share this post


Link to post
Share on other sites

Thanks for your Input.

The duties are "free-form" i.E i have no idea what kind of Duties, and Ranks are going to be set later.

Share this post


Link to post
Share on other sites

Then I'd use asmSelect (autoselect multiple), with option to create new items by hitting enter.

  • Like 1

Share this post


Link to post
Share on other sites
22 minutes ago, dragan said:

Then I'd use asmSelect (autoselect multiple), with option to create new items by hitting enter.

Thank you. ill give your strategy explained above  combined with  asmSelect a shot

 

Share this post


Link to post
Share on other sites
On 08/01/2018 at 1:49 AM, elabx said:

This is gold!!! Can't believe I've lived without this info. +1 on the unified resources thread haha

Adrian pointed this one out to me a while ago and damned if I could find it the other day, thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...