
the page in question: http://www.bdmlr.org.uk/index.php?page=news
many thanks + happy new year!
aura.
Code: Select all
{content dateformat="%b %d, %Y" summarytemplate="BDMLR news"}
Code: Select all
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage} {$prevpage}
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber < $pagecount}
{$nextpage} {$lastpage}
{/if}
</p>
{/if}
{foreach from=$items item=entry}
<p>
{if $entry->formatpostdate}
{$entry->formatpostdate}
{/if}
<br />
{$entry->titlelink}
<br />
{if isset($entry->extra)}
<div class="NewsSummaryExtra">
{eval var=$entry->extra}
{* {cms_module module='Uploads' mode='simpleurl' upload_id=$entry->extravalue} *}
</div>
{/if}
{if isset($entry->fields)}
{foreach from=$entry->fields item='field'}
<div class="NewsSummaryField">
{if $field->type == 'file'}
<img src="{$entry->file_location}/{$field->value}"/>
{else}
{$field->name}: {eval var=$field->value}
{/if}
</div>
{/foreach}
{/if}
{/foreach}
Code: Select all
sortasc="false"
Code: Select all
{news sortby="news_category" browsecat="1" sortasc="false"}
Code: Select all
{news browsecat="1"}
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{sitename} - {title}</title>
{metadata}
{stylesheet}
</head>
</__body>
<!-- start wrapper -->
<div id="wrapper">
<!-- start header -->
{global_content name='header-left'}
<div id="middleheader">{content block="bannerpic"}</div>
{global_content name='header-right'}
<!-- end header -->
<!-- start left column -->
<div id="leftcolumn">
<div id="search">
{search resultpage='results'}
</div>
<div id="menu">
{menu template='BDMLR' collapse='1'}
</div>
{global_content name='banners'}
</div>
<!-- end left column -->
<!-- start content column -->
<div id="midcolumn">
[b]<h1>News</h1>
{content dateformat="%b %d, %Y" summarytemplate="BDMLR news"}[/b]
</div>
<!-- end content column -->
<!-- start right column -->
<div id="rightcolumn">
<div class="newsheader">
<p>{cms_selflink page="News" text="Latest News »"}</p>
</div>
<div class="news">
{news number='4' detailpage="news" dateformat="%b %d, %Y"}
</div>
</div>
<!-- end right column -->
<!-- start footer -->
{global_content name='footer'}
<!-- end footer -->
</div>
<!-- end wrapper -->
<__body>
</__html>
hi mark -- please see my earlier post where i copied in the code i'm using and how i've set things up.mark wrote: And what does the tag look like now?...