Jump to content

Feed block custom display


Recommended Posts

{{if !empty( $records ) }}
	<div class="ipsType_center">
		<h2 class="title">{$title}</h2>
		<p class="desc">See what other people saying about us.</p>
	</div>
	<div class="ipsGrid ipsGrid_collapsePhone" data-ipsgrid data-ipsgrid-equalHeights="rows">
		{{foreach $records as $record}}
			<div class='ipsGrid_span3 ipsBox'>
				<div class='ipsPadding'>
              	<blockquote>
					{$record->content()|raw}
				</blockquote>
              </div>
			</div>
		{{endforeach}}
	</div>
{{else}}
be the first person
{{endif}}

How do I use {{else}} statement in a feed block display. It will not display at all for any of the database that I created along with the block itself.  

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...