[solved] News Layout issue
Posted: Fri Jan 14, 2011 3:11 pm
Hi guys
I am long time admirer of CMSMS and only starting to use it in anger this week, However! I have come a cropper in modifiying the News Summary template and need some advice from the people here
When I modified it I wanted the summary to show who it was posted by and in what section, unfortunately that info seems to be moved to the next node entry and is skewing up what i want things to look like
I have included the summary template code below and links to some screenshots from firebug showing what I mean (cant add attachements as it says "Sorry, the board attachment quota has been reached.")
Screenshots
http://pix.ie/tommycahir/2124441/size/1024
http://pix.ie/tommycahir/2124442/size/1024
http://pix.ie/tommycahir/2124443/size/912
Any help is greatly appreciated as it looks like something silly I am doing!!
I am long time admirer of CMSMS and only starting to use it in anger this week, However! I have come a cropper in modifiying the News Summary template and need some advice from the people here
When I modified it I wanted the summary to show who it was posted by and in what section, unfortunately that info seems to be moved to the next node entry and is skewing up what i want things to look like
I have included the summary template code below and links to some screenshots from firebug showing what I mean (cant add attachements as it says "Sorry, the board attachment quota has been reached.")
Code: Select all
<!-- Start News Display Template -->
{foreach from=$items item=entry}
<div class="NewsSummary">
<h2 class="NewsSummaryLink">{$entry->titlelink}</h2>
{if $entry->formatpostdate}
<div class="NewsSummaryPostdate">
{$entry->formatpostdate}
</div>
{/if}
{if $entry->summary}
<div class="NewsSummarySummary">
{eval var=$entry->summary}
</div>
<div class="NewsSummaryMorelink">
[{$entry->morelink}]
</div>
{else if $entry->content}
<div class="NewsSummaryContent">
{eval var=$entry->content}
</div>
{/if}
<div style="border-top:1px solid black; margin-top:1em;">
{if $entry->author}
<div class="NewsSummaryAuthor" style="float:left;">
Posted by {$entry->authorname} in {$entry->category}
</div>
{/if}
</div>
</div>
{/foreach}
<!-- End News Display Template -->
http://pix.ie/tommycahir/2124441/size/1024
http://pix.ie/tommycahir/2124442/size/1024
http://pix.ie/tommycahir/2124443/size/912
Any help is greatly appreciated as it looks like something silly I am doing!!