You are here

README.txt in Multi-path autocomplete 7

Same filename and directory in other branches
  1. 8 README.txt
  2. 6 README.txt
-- SUMMARY --

"Multi path autocomplete" helps anyone who creates menu items on
admin/build/menu/*/add to enter the path to nodes.
It changes the input field for the menu path to an autocomplete text field so
you can simply enter the title of the node and will get a list with all
matching values. If you select one of them its path will be placed into the
textfield.

If path.module is enabled autocomplete is working for URL aliases, too.


For a full description of the module, visit the project page:
  http://drupal.org/project/mpac

To submit bug reports and feature suggestions, or to track changes:
  http://drupal.org/project/issues/mpac


-- REQUIREMENTS --

None.


-- INSTALLATION --

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


-- DEVELOPER NOTES --

You can alter the list of results by using hook_mpac_autocomplete_paths().
Example:
<code><?php
function MODULENAME_mpac_autocomplete_paths_alter(&$matches, $title) {
  $matches['custom/path/1'] = t('My custom autocomplete result');
}
?></code>


-- CONTACT --

Current maintainers:
* Stefan Borchert (stborchert) - http://drupal.org/user/36942

File

README.txt
View source
  1. -- SUMMARY --
  2. "Multi path autocomplete" helps anyone who creates menu items on
  3. admin/build/menu/*/add to enter the path to nodes.
  4. It changes the input field for the menu path to an autocomplete text field so
  5. you can simply enter the title of the node and will get a list with all
  6. matching values. If you select one of them its path will be placed into the
  7. textfield.
  8. If path.module is enabled autocomplete is working for URL aliases, too.
  9. For a full description of the module, visit the project page:
  10. http://drupal.org/project/mpac
  11. To submit bug reports and feature suggestions, or to track changes:
  12. http://drupal.org/project/issues/mpac
  13. -- REQUIREMENTS --
  14. None.
  15. -- INSTALLATION --
  16. * Install as usual, see http://drupal.org/node/70151 for further information.
  17. -- DEVELOPER NOTES --
  18. You can alter the list of results by using hook_mpac_autocomplete_paths().
  19. Example:
  20. function MODULENAME_mpac_autocomplete_paths_alter(&$matches, $title) {
  21. $matches['custom/path/1'] = t('My custom autocomplete result');
  22. }
  23. ?>
  24. -- CONTACT --
  25. Current maintainers:
  26. * Stefan Borchert (stborchert) - http://drupal.org/user/36942