Forum

Thread tagged as: Suggestions

Multiple blocks in one template

I was trying to use multiple <blocks></blocks> in a single template but Duncan Revell has kept me right, pointing out that only one set of blocks is allowed per template.

It would be really useful if I could add more than one per template, maybe using an id to distinguish them.

Anyway, just a suggestion in the hope that it's low hanging fruit :)

Martin Underhill

Martin Underhill 5 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It's really not low hanging fruit, which is why it hasn't been implemented :)

The only way I know to use multiple blocks is to use layouts in your templates. It is just a work around.

R. K

Haha I feared as much, Drew :)

I'll give the template layout thing a whirl, Robert. Thanks!

Oh, and happy new year all!