Forum

Thread tagged as: Question

Shared region across templates

I'd like to know how I might go about sharing the contents of a text field in multiple places via different .html templates.

I am using perch_content_create()

Thanks for any help

Garth Holmes

Garth Holmes 1 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

You would use perch_content_custom and pass in the template that you want to use.

https://docs.grabaperch.com/docs/content/perch-content-custom/

Thank you for that information.

I read about Filter, however is there any way to specify an id in a .html template to simply display the content?

I have used filter and match attributes but they seem to have no effect, i.e. the template still appears as "NEW".

Rachel Andrew

Rachel Andrew 394 points
Perch Support

You would need to give us more information about the steps you are following, the outcome you are trying to reach and what is actually happening.