The columns service in the table keys_manage is set up with Value "Google Map API key".

It should be replaced by "gmaps" to make it work.

Comments

xmarket’s picture

From the README of keys_api:

return array(
'service_name' => array(
'name' => t('Name'),
'description' => t('Description of service.')
)
);

It suggest, that the name is translatable, but keys_api uses it as a primary key. So, if I translate "Name" to "Név"(hun), than keys_api won't find any key for you.....
Beacuse of this, gmaps uses the non-translatable "service_name" as primary key.

If you want gmaps to work with keys_api, you should change line 143 in keys_api.module:
from: $add = array($v['name'] => $v['name'].$description);
to: $add = array($k => $v['name'].$description);

xmarket’s picture

Status: Active » Closed (fixed)