Forum
Perch blocks
Hi,
Can you see what i'am doing wrong?
<perch:before>
<div class="container margin-30-bot">
<div class="row">
<div class="col-md-12">
<img src="<perch:content type="image" id="image" label="Topfoto" required="true" width="1170" height="340" crop="true" />" class="img-responsive" alt="<perch:content type="text" id="alt" label="Foto beskrivelse" required="true" help="Beskriv hvad der er på billedet" title="true" />" />
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>
<perch:content id="header" type="text" label="Overskrift" required="true" title="true" />
</h2>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-8">
</perch:before>
<perch:blocks>
<perch:block type="brødtekst" label="Tekst">
<div class="row">
<div class="col-md-12 margin-30-bot">
<perch:content id="bodycopy" type="textarea" label="Brødtekst" markdown="true" editor="markitup" imagewidth="640" imageheight="480" />
</div>
</div>
</perch:block>
<perch:block type="Stort billede" label="Fuld bredte foto">
<div class="row">
<div class="col-md-12 margin-30-bot">
<img src="<perch:content type="image" id="Largeimage" label="Image" />" class="img-responsive" alt="<perch:content type="text" id="alt" label="Beskrivelse" required="true" help="Foto beskrivelse. Bruges bl.a. til Google søgemaskine optimering" title="true" />" />
</div>
</div>
</perch:block>
<perch:block type="Video" label="Video">
<div class="row">
<div class="col-md-12 margin-30-bot">
<a class="youtube fancybox.iframe" href="<perch:content id="youtubelink" type="text" label="Indsæt YouTube link" help="Fx. https://www.youtube.com/embed/xxxxxxxxx" required="false" />?autoplay=1">
<img src="<perch:content type="image" id="youtubefoto" label="YouTube foto" />" class="img-responsive video" alt="<perch:content id="youtubelinktekst" type="text" label="YouTube tekstbeskrivelse" markdown="false" editor="markitup" />">
</a>
<p class="imagetext">
<perch:content id="youtubelinktekst" type="text" label="Beskrivelser af video" markdown="false" editor="markitup" />
</p>
</div>
</div>
</perch:block>
</perch:blocks>
</div>
<perch:after>
<div>
<div class="col-md-3 col-md-offset-1 margin-bot-30-mobile margin-bot-30-tablet">
<div class="infobox">
<h3>
Kontakt
</h3>
<h4>
Palle Thaisen
</h4>
<span>
Partner
</span>
<p>
telefon 4636 6000 <br />
mobil 4025 5000 <br />
e-mail pt@rir.dk <br />
</div>
</div>
</div>
</div>
<!-- MAIN CONTAINER END -->
</div>
</perch:after>
What problem are you seeing?
Hi Drew.
It adds the content multipel times in Perch :)
https://imgur.com/a/miXlY
Can we see your Diagnostic Report, we ask for this when you post to the forum as it really does make helping you a lot faster.
Of course.
When you updated Perch did you also update the MarkItUp Editor? If not, or if you don't remember can you use the latest one from your download.
Hi agian,
Just did it – didn change anything :)
and have you resaved the region etc. after having done so? I'm pretty sure that issue is due to an old markitup - you'll need to make sure you browser is not caching the JavaScript as well.
Might be me there is doing something wrong – how do i check if its the correct version of the MarkItUp Editor?
You would download the version from 2.8.31 and copy that into your installation.