Change Logos Based Upon Group

SomebodySysop - October 5, 2006 - 21:20
Project:Logo Tool
Version:4.7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I modified the logotool.module to be able to also select logos based upon group ID. Attached is the modified code. Let me know what you think.

Thanks!

-ron

AttachmentSize
logotool.module.txt15.56 KB

#1

pobster - October 9, 2006 - 07:44

Thanks! :o)

...I can't test this properly though as I don't use groups on any of my sites... So... Get 3 people to confirm that it works and doesn't interferre with a normal sites operations and I'll include it.

Pobster

#2

SomebodySysop - October 9, 2006 - 08:15

I've enhanced the module further to allow you to display logos based upon groups AND categories.

This is a very specialized module with some restrictions. It's basically the same logotool.module with these enhancements. I guess I should call it like og_logotool or something like that. It is designed for folks (well, me, actually) who are using OG with forums and requires the following contributed modules and tables:

og.module (og, og_uid tables)
og_forum (og_term table)
category (category, category_node table)

Your site url must be of type www.mysite.com and not www.mysite.com/folder

Anyway, anyone who wants to try it is welcomed!

AttachmentSize
logotool.module 19.39 KB
 
 

Drupal is a registered trademark of Dries Buytaert.