Forum

Thread tagged as: Question, Problem, Configuration

Perch Blocks

Hi,

Im going mad maybe. But i have this in my template, however im seeing duplicate options for adding the blocks. Now if i remove all my blocks bar the image, its fine so i'm assuming that i have something wrong on the text blocks. Ive removed all sorts of combos but i'm missing something.

Ive also attached a screen grab.

<div class="row equal--wrapper">
<perch:blocks>

<perch:block type="text--intro" label="Intro"> 
<div class="col-md-4">
<div class="lead">
<perch:content id="body--lead" type="textarea" label="Article Inro" textile="true" editor="markitup" size="m" />
</div>
</div>
</perch:block>

<perch:block type="text--body" label="Article Body"> 
<div class="col-md-4">
<perch:content id="body" type="textarea" label="Article body" textile="true" editor="markitup" size="m" />
</div>
</perch:block>

<perch:block type="image" label="Image">   
<div class="col-md-4">
<img class="img-responsive" src="<perch:content id="pic" type="image" label="Logo" bucket="general" />" alt="<perch:content id="picalt" type="text" label="Alt text" />" />
</div>
</perch:block>

</perch:blocks>
</div><!-- /row -->

screen grab

Steve Forbes

Steve Forbes 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Is Perch up to date, and did you upgrade MarkItUp when you went to 2.8?

never touched MarkitUp let me check now. cheers

Rachel Andrew

Rachel Andrew 394 points
Perch Support

That is required as detailed in the update notes: https://grabaperch.com/update/v2-8

You also have dashes in the IDs, which are not valid.

Id like to issue a public apology for wasting your time due to me being complacent in my upgrade process. :-)

Have always used dashed id's with no issues but ill change that.