entry-time in footer -> link to archive by date
Posted: Mon Jul 31, 2006 12:31 am
Some themes have the time / date of the entry in the footer:
it often looks lieke this:
author - categories - time - comments - trackbacks
There "time" links in most cases to the article themselves - something you did not need realy.
If you replace in
the
with:
the time will link to all the articles with the same date! 
it often looks lieke this:
author - categories - time - comments - trackbacks
There "time" links in most cases to the article themselves - something you did not need realy.
If you replace in
Code: Select all
{if $dategroup.is_sticky}
<img src="/templates/{$template}/img/time.gif" style="border: 0px" title="{$CONST.ON}" alt="{$CONST.ON}" />
{ else }
<img src="/templates/{$template}/img/time.gif" style="border: 0px" title="{$CONST.AT}" alt="{$CONST.AT}" />
{/if}
<a href="{$entry.link}">{if $dategroup.is_sticky}{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY} {/if}{$entry.timestamp|@formatTime:'%H:%M'}</a>
Code: Select all
<a href="{$entry.link}">Code: Select all
<a href="/{$CONST.PATH_ARCHIVES}/{$entry.timestamp|@formatTime:'%Y'}/{$entry.timestamp|@formatTime:'%m'}/{$entry.timestamp|@formatTime:'%d'}.html">