Posted on: 01/09/07 06:00pm
By: Don
...that lets you display the latest 5 stories in a centerblock? I must be having brain freeze, because I've searched for every term I can think of, but can't seem to find it anywhere on the site.
Apologies if this is in the wrong forum. It's just bugging me that I can't find it. TIA.
- Don
Re: Wasn
Posted on: 01/10/07 03:02am
By: scroff
Re: Wasn't there a hack or a plugin
Posted on: 01/10/07 10:13am
By: Don
Scroff,
That looks like it! Thanks!
Now why is my Add A New Block page not showing a Centerblock option? I just checked in two sites that are running GL 1.4.1 and I'm not seeing that option in either one. Weird.
Anyway, I'll give the code a try. Thanks again.
- Don
Re: Wasn't there a hack or a plugin
Posted on: 01/10/07 01:59pm
By: Dirk
Quote by: DonNow why is my Add A New Block page not showing a Centerblock option?
Because you can't have blocks as centerblocks, confusing as this may sound. You can have static pages as centerblocks, though.
bye, Dirk
Re: Wasn't there a hack or a plugin
Posted on: 01/11/07 10:38am
By: Don
I realized that after I posted, Dirk. Sometimes the fingers move faster than the brain.
- Don
Re: Wasn't there a hack or a plugin
Posted on: 01/11/07 09:22pm
By: Don
Just FYI - the above code that Scroff posted didn't work with 1.4.1. Just brings up a blank page.
Thanks anyway.
- Don
Re: Wasn't there a hack or a plugin
Posted on: 01/16/07 08:45am
By: Anonymous (Geoff Burd)
I was able to get it to work in 1.4.1b2 by adding the following statement at the start of the code:
global $_TABLES;
Hope this helps..
..Geoff