Offsetting some news items
Is it possible to offset the news items displayed by the main_news block? I want to use both the main_image_fader_news and the main_news block on a homepage. My intention is for the fader block to carry the latest 5 news items and the main_news block to carry the next 10 latest news items, offsetting the "most" latest 5. Is there some way this can be done -- without some extra PHP?
Hi,
I was going to say it's not possible, but then I realised you could use Filtercode and Tempcode.
604800 is 1 week in seconds
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
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.
1 guest and 0 members have recently viewed this.
