dapi 6.x-1.0
Posted by rooey on April 27, 2010 at 10:45am
| Download | Size | md5 hash |
|---|---|---|
| dapi-6.x-1.0.tar.gz | 8.02 KB | 0430abb61101c154e5a09c640a5e4fdf |
| dapi-6.x-1.0.zip | 8.56 KB | 4d7adfb1491c37150b5dafa6ef86aab7 |
Last updated: December 24, 2010 - 22:43
Release notes
DAPI extensions for drupal 6. No new features with this release.
dapi 6.x-1.x-dev
Posted by rooey on April 27, 2010 at 10:43am
| Download | Size | md5 hash |
|---|---|---|
| dapi-6.x-1.x-dev.tar.gz | 7.93 KB | 127997b4e0425f4e077cba95fb364663 |
| dapi-6.x-1.x-dev.zip | 8.44 KB | 33264e09959662d2eccde48e4a3dc179 |
Last updated: February 25, 2011 - 07:31
Release notes
No new features, just a core compatibility update.
dapi 5.x-1.0
Posted by rooey on August 24, 2007 at 4:48pm
| Download | Size | md5 hash |
|---|---|---|
| dapi-5.x-1.0.tar.gz | 7.96 KB | f6f1e0e38924c5e9935005fdb8eabe6b |
| dapi-5.x-1.0.zip | 8.52 KB | 314c65c938528f12fa38398c8223f547 |
Last updated: December 24, 2010 - 22:43
Release notes
* added dapi_loadicons hook.
// $splitview determines whether to categorise icons or not - set to TRUE or FALSE (defaults to false if omitted)
// $module is an optional parameter - used to specify a specific group of icons to show. defaults to NULL (all icons)
$page_content .= dapi_loadicons($module, $splitview);* added dapi_seticons hook.
function mymodule_dapi_seticons() {
$icons = array();
// attributes may include 'hidden' to prevent icons being displayed by other modules calling the dapi_loadicons hook.
$icons[] = array(
'group' => t('Document Publishing'),
'attributes' => array(),
'module' => 'mymodule',
'path' => 'mymodule/myapplication',
'icon' => drupal_get_path('module', 'mymodule').'/image/myicon.png',
'title' => t('My Application'),
'access' => user_access('access mymodule'),
'description' => t('Tool-tip text for My Application'),
);
return $icons;
}