Jump to content

CMS templates field connection


Macaco
 Share

Recommended Posts

Hi there, 

I have two templates that should talk to each other. One is for events which should access a list of artists (eventually add a new artist) and their images related to that event; the second is the artist page, which the user should be able to add or remove events that they participated, also mentioning which images are related to each event.

Some sort of feedback loop between the two.

I have tried searching around the community and google, but maybe I'm not formulating the question properly. 

Thank you all for the amazing work with Processwire and the community support. I have made a few websites with PCW yet I'm still quite between beginner and intermediate.

Link to comment
Share on other sites

Are you familiar with page reference fields? Are you already using them? Assuming you are already using them, I guess you want cross-references in both directions. In that case, take a look at this module:

https://modules.processwire.com/modules/connect-page-fields/

From the API side, there's also this relatively new method: https://processwire.com/api/ref/page/references/

  • Like 4
  • Thanks 1
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...