Offsetting some news items
Posted
#4710
(In Topic #950)
Posted
I was going to say it's not possible, but then I realised you could use Filtercode and Tempcode.
Code
{$BLOCK,block=main_news,filter=date_and_time<{$SUBTRACT,{$FROM_TIMESTAMP},604800},fallback_full=10,fallback_archive=0,days=0}
604800 is 1 week in seconds
Posted
Code
{$BLOCK,block=main_news,filter=date_and_time&amp;amp;amp;lt;{$SUBTRACT,{$FROM_TIMESTAMP},604800},fallback_full=10,fallback_archive=0,days=0}&amp;amp;lt;br /&amp;amp;gt;604800 is 1 week in seconds
From “Composr 10.0.22 released”, 1st Jan 2019
It seems to work – I have just 5 article currently, so it just displays There is no news yet for now.
0 guests and 0 members have recently viewed this.