Welcome to Geeklog, Anonymous Thursday, April 25 2024 @ 06:03 am EDT

Geeklog Forums

block bug?


Status: offline

odDonnellE

Forum User
Junior
Registered: 12/26/02
Posts: 24
were default geeklog blocks meant to work differently than custom blocks?

like, i can't make the "what's new" or "events" block show up under specific sections like i can custom blocks.

moving blocks from the lib-common.php to the lib-custom.php is slow going. cut and paste doesn't work, i get a block inside a block that way. Frown

just curious


-Adam O'Donnell
 Quote

Anonymous

Anonymous
The code was written differently. The Block Manager shows the gldefault blocks can be displayed on all or none of the pages. There's no choice to have these blocks appear under only a specific topic. If you want this effect, then you'll have to hack the code. You can also submit a feature request asking the developers to modify the code to allow this flexibility in one of the future releases. You're getting a block inside a block because you have COM_startBlock and COM_endBlock in the code. You need to eliminate these from whatever block you're modifying into custom ones. Geeklog automatically slaps a block header and footer on custom blocks that's why it's showing up twice.
 Quote

All times are EDT. The time is now 06:03 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