The attached file has the function necessary to implement domain_conf's hook that will allow multiple API keys on a site that uses the Domain Access module.

The code works, but the file doesn't, not sure why... It's the first time I've added code to an existing module, so all it needs is someone that knows what they're doing to fix whatever little mistake I made.

After that, just add the file to the GMap module directory and multiple Google Map API keys are enabled.

CommentFileSizeAuthor
#4 gmap-332312-4.patch996 bytesAnonymous (not verified)
gmap.domain_conf.inc_.txt776 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Title: Implement hook to allow multiple API keys » Support Domain module

Anyone want to help get this committed?

zdean’s picture

I don't know how to play with the code, but this would be very helpful for my site.

szy’s picture

Keys module is intended to handle API keys of different projects on multiple
domains. But better use 1.x version of Keys - 2.x looks uncomplete for me.

Szy.

Anonymous’s picture

Status: Needs work » Needs review
StatusFileSize
new996 bytes

I no longer use GMap but recently discovered why my original attempt didn't work. Here's an updated patch that should work.

podarok’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs review » Needs work

all feature requests can be imported in 6.x version after committing em in major versions with backport afterwards
Can You make this ?