The featured image I have set, no longer shows up and when I try to embed a gallery into a news post it breaks the site completely.
This is my news summary template. I'm assuming there is some new syntax I need to use, but I know very little about smarty or php. If anyone could help me get this working it again, it would be greatly appreciated....
Code: Select all
[code]<div class="newswrapper">
{foreach from=$items item=entry}
{assign var=post value=$entry->id}
{assign var=img value=$entry->featured}
{if $entry->featured}
<div class="NewsSummary">
<h4><a href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}">{$entry->title|cms_escape:htmlall}</a></h4>
<span class="imageThumb">{supersizer path="uploads/news/id$post/$img" width=80 alt=$entry->title|cms_escape:htmlall}</span>
{eval var=$entry->content|truncate:200:"...":true|strip_tags}<p>
<a class="button blue" href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}">Read more</a></p>
{else}
<div class="NewsSummary">
<h4><a href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}">{$entry->title|cms_escape:htmlall}</a></h4>
{eval var=$entry->content|truncate:200:"...":true|strip_tags}
<p>
<a class="button blue" href="{$entry->moreurl}" title="{$entry->title|cms_escape:htmlall}">Read more</a></p>
{/if}
</div>
{/foreach}
<div class="NewsMore">
<p>
<a class="button blue1" href="/news" >Want More News?</a>
</div>
</div>