Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:05 am EST

Geeklog Forums

Blocks show for plugins only


Status: offline

remy

Forum User
Full Member
Registered: 06/09/03
Posts: 162
Location:Rotterdam & Bonn
caffeinated
Blocks may show on homepage, everywhere or within topic.
In GL it is not possible to assign a block to a plugin. In the case of a Glossary plugIn there are some blocks linking to BabyLon, Law glossary and more. it do make sense to have these on the left while the Glossary plugin is in the center.

Same story goes for Forum and Contacts, I guess.
Example on http://www.mycobol.net

Anyway, this is what I did:

1. create a topic named 'glossary'
2. disable group, member and anonymous read access.
3. add to the plugin the statement '$topic='glossary';" in index.php or config.php.

Voila. I do not know if this is a desirable hack. Peut-etre GL can reserve a 'plugin-topic'-name as topic-type to get the behaviour. The plugIn-name could than be found in the path.

Any thoughts?
 Quote

All times are EST. The time is now 10:05 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