Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 12:48 pm EST

Geeklog Forums

Wasn't there a hack or a plugin...


Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
...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
 Quote

Status: offline

scroff

Forum User
Regular Poster
Registered: 02/19/03
Posts: 111
I don't know how this will work with 1.4.1, but is this what you were looking for?

http://www.geeklog.net/article.php?story=20041001094603120&query=centerblock%2Bstories
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
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
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Don

Now 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
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
I realized that after I posted, Dirk. Sometimes the fingers move faster than the brain. Confused

- Don
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
Just FYI - the above code that Scroff posted didn't work with 1.4.1. Just brings up a blank page.

Thanks anyway.

- Don
 Quote

Geoff Burd

Anonymous
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
 Quote

All times are EST. The time is now 12:48 pm.

  • 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