Jump to content

Hierarchy Page Design


wheelmaker24
 Share

Recommended Posts

Hi there,

the ProcessWire page layout functions perfectly for something like a hierarchical post structure, e.g.:

- Post 1
- - Answer 1
- - Answer 2
- Post 3
- - Answer 1

I think from an API point of view this is the best solution.

But what if the post type itself could make use for children? For example if the post type was a simple poll:

- Poll 1
- - Poll Option 1
- - Poll Option 2
- - Poll Option 3

It's getting confusing when you've got polls that can be answered. Is there any better solution than throwing together poll options and post answers?

A similar question: I would love to have a news page, whose children are the news items. Adding something like poll items to the news page would of course be possible but IMO a bit "messy":

- News Page
- - News Item 1
- - Poll Item 1
- - News Item 2
- - ...

Is it? Is it not? I'm not sure … ;)

How would you design the page structure?

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

×
×
  • Create New...