You are here

README.txt in Menu target 7

Same filename and directory in other branches
  1. 8 README.txt
  2. 6 README.txt
Menu Target
================================================================================

INTRODUCTION:
--------------------------------------------------------------------------------

Allows privileged users to choose whether or not to open menu items in a new
window. When enabled, users who have access to add or edit menu items, are
provided the possibility to choose if the menu items should be opened in a new
window or in the same window.


REQUIREMENTS:
--------------------------------------------------------------------------------

This module does not depend on other modules, however it would be useless
without core's menu module.


INSTALLATION:
---------------------------------------------------------------------------

Install as usual, see http://drupal.org/node/70151 for further information.


CONFIGURATION:
--------------------------------------------------------------------------------

You can configure the type of redirecting (attribute-based or javascript)
at admin/structure/menu/settings.
This module defaults to rendering the links with the deprecated target
attribute.


TECHNICAL DESCRIPTION:
--------------------------------------------------------------------------------

This module basically only serves hook_form_alters in order to change the form
structures build in node_form() and form_menu_configure(). When a menu item is
configured to be opened in a new window, a 'target' attribute with a value of
'_blank' will be added to the rendered menu item.

To avoid XHTML validation errors for the deprecated target attribute, it is also
possible to use an JavaScript equivalent for opening a new window. This can be
configured at admin/structure/menu/settings.

File

README.txt
View source
  1. Menu Target
  2. ================================================================================
  3. INTRODUCTION:
  4. --------------------------------------------------------------------------------
  5. Allows privileged users to choose whether or not to open menu items in a new
  6. window. When enabled, users who have access to add or edit menu items, are
  7. provided the possibility to choose if the menu items should be opened in a new
  8. window or in the same window.
  9. REQUIREMENTS:
  10. --------------------------------------------------------------------------------
  11. This module does not depend on other modules, however it would be useless
  12. without core's menu module.
  13. INSTALLATION:
  14. ---------------------------------------------------------------------------
  15. Install as usual, see http://drupal.org/node/70151 for further information.
  16. CONFIGURATION:
  17. --------------------------------------------------------------------------------
  18. You can configure the type of redirecting (attribute-based or javascript)
  19. at admin/structure/menu/settings.
  20. This module defaults to rendering the links with the deprecated target
  21. attribute.
  22. TECHNICAL DESCRIPTION:
  23. --------------------------------------------------------------------------------
  24. This module basically only serves hook_form_alters in order to change the form
  25. structures build in node_form() and form_menu_configure(). When a menu item is
  26. configured to be opened in a new window, a 'target' attribute with a value of
  27. '_blank' will be added to the rendered menu item.
  28. To avoid XHTML validation errors for the deprecated target attribute, it is also
  29. possible to use an JavaScript equivalent for opening a new window. This can be
  30. configured at admin/structure/menu/settings.