Welcome to Geeklog Tuesday, June 18 2019 @ 06:41 am EDT

Geeklog Forums

can you assign a block to more than one topic?


debra

Anonymous
i have a custom block i'd like to appear on about 50 topic pages, but not on the other pages. is this possible, or can you only assign a block to one topic?

thanks!

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog doesn't have support for multiple topics for any objects, be it stories or blocks.

If you don't mind some PHP coding, you could look into the dynamic block API that we have. There's some sample code in lib-custom.php and there are also some plugin API functions for blocks (note: I'm not too familiar with those myself - they were implemented by Blaine and Trinity, IIRC).

HTH

bye, Dirk

Status: offline

trinity

Forum User
Regular Poster
Registered: 30/01/05
Posts: 80
if you need help understanding the dynamic block api drop me an email

glFusion - Technology Fused with Style - www.gllabs.org

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
It would be nice if we had documentation for this somewhere. The wiki would come to mind ...

bye, Dirk

Status: offline

trinity

Forum User
Regular Poster
Registered: 30/01/05
Posts: 80
http://wiki.geeklog.net/wiki/index.php/Dynamic_Blocks

thats all the documentation there is
glFusion - Technology Fused with Style - www.gllabs.org

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