Jump to content

How to structure a list of Members


lecrackffm
 Share

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

Link to comment
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
Link to comment
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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...