Jump to content
bookie

The right structure for catalogs

Recommended Posts

I am slowly feeling my way through processwire and am trying to get an idea how best to structure my pages to make it easy to execute what I'm looking for.

My intention is to create catalogs that can contain multiple items. Those items may appear in multiple catalogs.

I was thinking of creating a tag field in item pages, and have catalog templates publish items that contain the relevant tag. But it appears that fields can only hold a single value. If I create multiple fields to serve the same purpose I assume that being able to determine if an item belongs in a catalog would get significantly more difficult. Is there an elegant solution to this that has already been worked out somewhere? 

Share this post


Link to post
Share on other sites

Welcome @bookie!

This tutorial by @kongondo could be a good starting point for your intention:

Don't worry if it looks difficult - it is not!

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Hi there. 

Trying to visualize what you're trying to do.

From what I see, it may be good to go with Page references. Multiple type. So you can tag them accordingly. 

This way if you add a new catalog category, it will automatically be visible on the auto fill/checkbox. 

Share this post


Link to post
Share on other sites

Ottogal, that looks like what I needed, thanks!

Pip, it does look like Page References are what I was looking for. The car example in the tutorial ottogal linked is close to what I'm doing. 

For example if you have a movie that is both in Japanese, and a Horror movie, I want to simply create pages that list it under both Japanese Movies and Horror Movies.

Share this post


Link to post
Share on other sites

Awesome. All the best. 😄

 

 

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...