Here is a link to the News summary page, http://rudeboyzofficial.com/rudethawtz.php. When you read the article, the page doesn't load fully (the submenu and random pic does not display, and the comments do not display.
Cms Version: 1.4.1
Comments: 1.8.2
Captcha: 0.3.1
Template Name: NewsDetail
Code: Select all
<h3 id="NewsPostDetailTitle">{$entry->title}</h3>
<div id="NewsPostDetailPrintLink">
{$entry->printlink}
</div>
<!-- hr id="NewsPostDetailHorizRule" / -->
<!-- {if $entry->summary}
<div id="NewsPostDetailSummary">
<strong>
{eval var=$entry->summary}
</strong>
</div>
{/if} -->
<div class="clear"></div>
{if $entry->category}
<div id="NewsPostDetailCategory">
{$category_label} {$entry->category}
</div>
{/if}
{if $entry->author}
<div id="NewsPostDetailAuthor">
{$author_label} {$entry->author}
</div>
{/if}
{if $entry->formatpostdate}
<div id="NewsPostDetailDate">
{$entry->formatpostdate}
</div>
{/if}
<div id="NewsPostDetailContent">
{eval var=$entry->content}
</div>
{if $entry->extra}
<div id="NewsPostDetailExtra">
{$extra_label} {$entry->extra}
</div>
{/if}
{if $return_url != ""}
<div id="NewsPostDetailReturnLink">{$return_url}</div>
{/if}
{if isset($entry->fields)}
{foreach from=$entry->fields item='field'}
<div class="NewsDetailField">
{if $field->type == 'file'}
{* this template assumes that every file uploaded is an image of some sort, because News doesn't distinguish *}
<img src="{$entry->file_location}/{$field->value}"/>
{else}
{$field->name}: {eval var=$field->value}
{/if}
</div>
{/foreach}
{/if}
{cms_module module='comments' modulename='news' pageid=$entry->id}