The description handling is not suitable for multi-site installations

jscoble - March 7, 2008 - 01:37
Project:Request Invitation
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:buddhika
Status:active
Description

As currently set up the getDescription() function in requestinvitation.module get's the description from a string within that function. To change the description, one is instructed to change the string that gets assigned to the $description variable.

This is fine for single site installations but unsuitable for multi-site installations unless one has a separate copy of the requestinvitation module in each site specific module folder, which defeats the purpose of the ../sites/all/modules directory.

The description should be stored somewhere other than the requestinvitation.module and be configurable through the admin UI to support multi-site installations.

#1

buddhika - March 20, 2008 - 07:04
Assigned to:Anonymous» buddhika
Status:active» postponed

Yes, this is a place where I should put more attention. I will implement this in near future.

Thanks for the suggestion BTW.

#2

buddhika - May 10, 2008 - 07:41
Status:postponed» active

Welcome text now can be set from inside the module. But still not for multiple sites.

 
 

Drupal is a registered trademark of Dries Buytaert.