Forum

Thread tagged as: Question

Perch_content_custom or template

I have a page with a content region using a large-ish template. This contains text, image, map and text area fields and repeaters. I'm also using four individual items (e.g, a price text field) from this region in other areas of the page (e.g in a mail form) and using perch_content_custom to display these. I have four separate item templates for these, e.g a template with the price field.

Is there a better way of doing this? Perhaps making my main template larger to include the html where the four individual items field are displayed?

Thanks

Clive Walker

Clive Walker 22 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It's hard to say without knowing if that would work for your page. Would it?

It would work for the page but means that a lot of the Perch template would be, for example, the form and another JavaScript widget that both take the individual fields data. I think I prefer to keep the Perch template "cleaner".

Drew McLellan

Drew McLellan 2638 points
Perch Support

I think that's probably your answer then.