Jump to content

Recommended Posts

Posted

I have a situation where I need a client to be able to select from a pre-existing group of pages to include in a member's page of a site. For example, consider this structure:

home

category 1

--cat 1 content 1

--cat 1 content 2

category 2

--cat2 content 1

--cat2 content 2

members

--bob

--andrew

So would it be possible for a client to choose on the page "bob" to show the page "--cat 1 content 1" and any other page in that category and possibly also "--cat 2 content 1"?

The member's pages are hidden from the public and require a login to view "bob" and "andrew". Meaning only user "bob" can login to "bob".

Would this be possible by using the "pages" field?

Posted

The pages field accepts a selector. It should do what you want as long as you use "include=all". I'm on mobile, so I can't test.

Posted

Thanks diogo. How do you output a list of these pages? My field is named "artworkpageselect".

EDIT: I figured it out.

EDIT2: How would you specify just 'category1' and 'category2' in the pages field module? It appears that you can just choose one parent. Is there a way to choose more than one parent?

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
×
×
  • Create New...