[solved] Removing 'Page' from 'Page 1 of 4' in news
Posted: Tue Aug 28, 2007 9:50 pm
Hi there,
I am trying to remove the test 'Page' from my news template. The page can be seen here:
http://www.bbmusichouse.co.uk/index.php?page=news
The Page text i want to remove can be seen at the bottom of the page. Instead of
Page 1 of 4 > >>
I would Like
1 of 4 > >>
2 of 4 > >>
etc....
Here is my news template:
Would appreciate any pointers on this. Thanks in advance
Richard
I am trying to remove the test 'Page' from my news template. The page can be seen here:
http://www.bbmusichouse.co.uk/index.php?page=news
The Page text i want to remove can be seen at the bottom of the page. Instead of
Page 1 of 4 > >>
I would Like
1 of 4 > >>
2 of 4 > >>
etc....
Here is my news template:
Code: Select all
<!-- Start News Display Template -->
{foreach from=$items item=entry}
<div class="NewsSummary">
<h4>{$entry->title}</h4>
{if $entry->formatpostdate}
<div class="NewsSummaryPostdate">
{$entry->formatpostdate}
</div>
{/if}
{if $entry->summary}
<div class="NewsSummarySummary">
{eval var=$entry->summary}
</div>
<div class="NewsSummaryMorelink">
<h3>{$entry->morelink}</h3>
</div>
<br />
{else if $entry->content}
<div class="NewsSummaryContent">
{eval var=$entry->content}
</div>
{/if}
</div>
{/foreach}
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
</p>
{/if}
<!-- End News Display Template -->Richard