Forum

Thread tagged as: Question, Blog

Blocks on different parts of a blog post

Hi, I would like to let my client add same blocks on different parts of my blog's post.html

<div id="details" class="tab-content">
        <perch:blocks divider-before="Details">
            <perch:template path="blog/viaje-blocks.html" />
        </perch:blocks>
</div>

<div id="description" class="tab-content">
        <perch:blocks divider-before="Description">
            <perch:template path="blog/viaje-blocks.html" />
        </perch:blocks>
</div>

How can I do that?

Thanks!

Raul Serrano

Raul Serrano 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can only have one set of blocks per template.

Not good news. Now I have to change clients full site structure… Please on future version would be really powerful to have multiple blocks.

Is there any other way to let my client drag-reorder blog post regions?

I have not tried this on a blog post but you can for sure do this on a normal page. I have this set up on a master pager that has a region for the main content and for a sidebar. Both regions use the same template that consists of many block types.

So the user is able to add the same block type in both regions.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Raul - this has always been the case for blocks, and it's in the documentation.

Drew, I misunderstand. — I also believe multiple blocks would be a superfeature.

Shawn, thanks for your help, but blog posts do not accept regions