Forum

Thread tagged as: Question, Problem, Blog

Output path echoed out at bottom of blog post

Hi there,

I've got a strange image output at the bottom of my blog posts. It's the url to the image I use for the listing page. You can see it at the bottom here just above the categories.

Any ideas why this would output at the bottom of the post?

My entire post.html template is as follows,

<div class="row">
    <div class="news-title large-12 columns">               
        <h1><perch:blog id="postTitle" type="text" label="Title" required="true" size="xl autowidth" order="1" /></h1>
    </div><!-- /large-12 -->
</div>
<div class="row">
    <div class="small-2 columns">
        <ul>
            <li class="author"><perch:blog id="authorGivenName" type="hidden" /> <perch:blog id="authorFamilyName" type="hidden" /></li>
            <li><perch:blog id="postDateTime" type="date" time="true" format="%d %b %Y"/><li>                       
        </ul>
    </div>

    <div class="small-10 columns article">          
        <!--* Perch blocks start here. *-->
        <perch:blocks>  
            <!--* Just a block of text. *-->
             <perch:block type="text" label="Text">
                <div class="container">
                    <perch:blog id="content" type="textarea" label="Text" html="true" markdown="true" editor="markitup"/>
                </div>    
            </perch:block>


            <!--* one column block. *-->
            <perch:block type="oneimage" label="One Image">                       
                  <div class="image-holder full">
                      <img src="<perch:blog id="fullimage" type="image" width="1600" label="Image" />" alt="<perch:blog id="alt" type="text" label="Image description" />" />
                  </div>                        
            </perch:block>

            <!--* Two column block. *-->
            <perch:block type="twoimages" label="Two Images">                             
                   <div class="image-holder double">
                      <div class="large-6 columns"><img src="<perch:blog id="contentimage1" type="image" width="400" label="Image 1" />" alt="<perch:blog id="alt1" type="text" label="Image description 1" />" /></div>
                      <div class="large-6 columns"><img src="<perch:blog id="contentimage2" type="image" width="400" label="Image 2" />" alt="<perch:blog id="alt2" type="text" label="Image description 2" />" /></div>
                  </div>                            
            </perch:block>

            <!--* For those fancy pants pull quotes. *-->
            <perch:block type="pullquote" label="Pull quote">
                <blockquote>
                      <perch:blog id="quote" type="textarea" markdown="true" size="xs" label="Quote" />
                </blockquote>
            </perch:block>  
        </perch:blocks>
        <!--* Perch blocks end here. *-->


        <perch:categories id="categories" set="blog" label="Categories" display-as="checkboxes" suppress="true" order="5">
            <a href="archive.php?cat=<perch:category id="catSlug" type="slug" />" class="p-category">
            <perch:category id="catTitle" type="text" />
            </a>
        </perch:categories>


<perch:blog id="listimage" type="image" label="Image for listing page" width="1440" height="1440" crop="true" supress="true" order="2" />
<perch:blog id="listimage" type="image" label="Image for listing page" width="200" height="200" crop="true" suppress="true" />
<perch:blog id="excerpt" type="textarea" label="Excerpt" help="Keep me short and sweet - I only appear on the news homepage" words="20" html="true" order="2" suppress="true" size="s" />

Here's a pic of the anomaly.

Screen Shot 2017-03-07 at 17.58.49.png

It's almost as if I've missed a closing bracket or something? Can anyone spot the issue?

Cameron Duthie

Cameron Duthie 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

supress="true" should be suppress="true"

Ugh what an idiot! Thanks Drew! :)