You are here

README.txt in Admin 6

Same filename and directory in other branches
  1. 6.2 README.txt
  2. 7.2 README.txt
DESCRIPTION
===========

The admin module provides UI improvements to the standard Drupal admin
interface. It implements some of the ideas being explored for
usability improvements in Drupal 7.


INSTALLATION
============

1. Install & enable the module.

2. If you do not have an admin theme selected, admin will provide its
   admin theme as the default.

3. To make use of the admin header within your theme, you must add the
   following line to your theme's page.tpl.php file immediately
   following the <body> tag:

   <?php if (!empty($admin)) print $admin; ?>

4. Admin makes 2 different permissions available. In addition to using
   these permissions to enable/disable admin features for different
   roles, specific themes can specify their compatibility (see
   'Theme compatibility' below).

   'admin inline': Grant users access to inline contextual links for
     editing nodes, views, blocks, etc.

   'admin menu': Grant users access to the admin header/menu.


GRAPHICS
========

The icons used by the admin module were designed by Young Hahn and
AJ Ashton specifically for use with Drupal's admin interface.
The iconset is available for use under a dual GPL/BSD license,
meaning you may choose the license which is most appropriate for
your project.


THEME COMPATIBILITY
===================

A theme can specify its compatibility with different features
provided by the admin module in its .info file. If no compatibility
flag is set, admin assumes the theme is compatible with all of its
features.

To disable the admin menu when using your theme:

  admin[admin menu] = 0

To disable the admin inline links when using your theme:

  admin[admin inline] = 0


API & HOOKS
===========

There is a small API included in admin for adding inline links to
various objects. The hooks are parallel to hook_link() and
hook_link_alter(), except that they are used for admin inline links
only. The admin-edit, admin-delete, and admin-configure classes
are available for rendering links with icons (more to come).

- hook_admin_link($type, $object)

  Should return a $links array suitable for theming by theme_links().

- hook_admin_link_alter(&$links, $type, $object)

  A typical drupal_alter() hook that takes the links array, as well
  as object type and object as parameters.


CONTRIBUTORS
============
Young Hahn young@developmentseed.org
AJ Ashton aj@developmentseed.org

File

README.txt
View source
  1. DESCRIPTION
  2. ===========
  3. The admin module provides UI improvements to the standard Drupal admin
  4. interface. It implements some of the ideas being explored for
  5. usability improvements in Drupal 7.
  6. INSTALLATION
  7. ============
  8. 1. Install & enable the module.
  9. 2. If you do not have an admin theme selected, admin will provide its
  10. admin theme as the default.
  11. 3. To make use of the admin header within your theme, you must add the
  12. following line to your theme's page.tpl.php file immediately
  13. following the tag:
  14. 4. Admin makes 2 different permissions available. In addition to using
  15. these permissions to enable/disable admin features for different
  16. roles, specific themes can specify their compatibility (see
  17. 'Theme compatibility' below).
  18. 'admin inline': Grant users access to inline contextual links for
  19. editing nodes, views, blocks, etc.
  20. 'admin menu': Grant users access to the admin header/menu.
  21. GRAPHICS
  22. ========
  23. The icons used by the admin module were designed by Young Hahn and
  24. AJ Ashton specifically for use with Drupal's admin interface.
  25. The iconset is available for use under a dual GPL/BSD license,
  26. meaning you may choose the license which is most appropriate for
  27. your project.
  28. THEME COMPATIBILITY
  29. ===================
  30. A theme can specify its compatibility with different features
  31. provided by the admin module in its .info file. If no compatibility
  32. flag is set, admin assumes the theme is compatible with all of its
  33. features.
  34. To disable the admin menu when using your theme:
  35. admin[admin menu] = 0
  36. To disable the admin inline links when using your theme:
  37. admin[admin inline] = 0
  38. API & HOOKS
  39. ===========
  40. There is a small API included in admin for adding inline links to
  41. various objects. The hooks are parallel to hook_link() and
  42. hook_link_alter(), except that they are used for admin inline links
  43. only. The admin-edit, admin-delete, and admin-configure classes
  44. are available for rendering links with icons (more to come).
  45. - hook_admin_link($type, $object)
  46. Should return a $links array suitable for theming by theme_links().
  47. - hook_admin_link_alter(&$links, $type, $object)
  48. A typical drupal_alter() hook that takes the links array, as well
  49. as object type and object as parameters.
  50. CONTRIBUTORS
  51. ============
  52. Young Hahn young@developmentseed.org
  53. AJ Ashton aj@developmentseed.org