Page 1 of 1
Output different global content block for each page?
Posted: Wed Oct 31, 2012 8:11 pm
by ITistic
Is it possible for us to program the template to output a specific global content block for each individual web page? Our client would like to display a different testimonial blurb on each page of their site and I'm not sure how we can achieve this.
Re: Output different global content block for each page?
Posted: Wed Oct 31, 2012 11:30 pm
by Jos
ITistic wrote:global content block for each individual web page
Then it wouldn't be global anymore, would it
Why not use {content block='testimonial'} in your page template.
Re: Output different global content block for each page?
Posted: Mon Nov 12, 2012 2:31 pm
by ITistic
The part of the page where we need to display testimonials is in the template, not the content area. That's why we can't simply embed it in the content area.
Is there any way to achieve this?
Re: Output different global content block for each page?
Posted: Mon Nov 12, 2012 4:16 pm
by velden
You know that it's possible to have multiple content blocks in one template?
So you need to have at least {content} for your main content. But you can have one or more extra {content block='pick-a-name'} in your template.
On the webpage those content block will - of course - be replaced by the content the user enters.