Hmm.. Maybe I'm making this more complex than it needs to be.
I have a Collection setup, pulling data to the landing page which is working fine, printing the names off in a list.
For search I want to get all of those full names into a JSON file formatted like: ["Rachel Andrew","Drew McLellan"]
So to review, I'm going to need to setup a new Perch Template that outputs as JSON and passes back into the perch_collection template... Is that right?
I suppose my problem right now is that when creating that new template, I'm not sure how to tell it to grab those same names from my Collections Template. Right now it's setup like this:
Hmm.. Maybe I'm making this more complex than it needs to be.
I have a Collection setup, pulling data to the landing page which is working fine, printing the names off in a list.
For search I want to get all of those full names into a JSON file formatted like: ["Rachel Andrew","Drew McLellan"]
So to review, I'm going to need to setup a new Perch Template that outputs as JSON and passes back into the perch_collection template... Is that right?
I suppose my problem right now is that when creating that new template, I'm not sure how to tell it to grab those same names from my Collections Template. Right now it's setup like this:
Thanks so much for all of your support. Really appreciate it and my apologies for being a rookie on this.
So something like:
Got it working with a new template! Thanks for the help all. Learned a thing or two about Perch & JSON this week.