Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 05:57 am EST

Geeklog Forums

Change Older story block parameters


Older stories

Anonymous
Is it possbile to give the Older Stories Block from and to dates to show stories. For example right now Older Stories just shows from stories from Dec 11th to Dec 29. Could I change this to show stories from 2 days ago up to 3 weeks ago and then have a next button to show older stories. Maybe this is coming in the new version? With a plugin that allows for your to show stories from the last two weeks and the it sends stories to the archive for further viewing. Also, instead of having days replace it with dates. How would this be done?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The Older Stories block always displays $_CONF['limitnews'] stories, i.e. so many stories as specified in that config variable. The idea is that if $_CONF['limitnews'] = 10, you have 10 stories on the front page and the next (older) 10 in the Older Stories block.

That's how it works currently and I don't see it changing any time soon. If you want a block that behaves differently, you would have to write your own.

bye, Dirk
 Quote

All times are EST. The time is now 05:57 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content