A package of modules to restructure the link filtering thus implement the auto-completion of links through AJAX.
The project, when all the options are selected, will enable the user to complete the links dynamically, with the use of a background architecture it will be done in a structured way, thus further extensions and configurations for personal preferences will be made effortless.
uLink Packages comes with the following modules
- uLink : Provides clean target oriented central universal filtering of links.
- uLink_gallery : An extension to uLink to render the output to display images when only directory is specified by the user
- uLink_imagecache : An extension to uLink to make use of imagecache
- uAuto : JQuery powered, client side auto-completion tool
- uAuto_dirSearch : An extension to uAuto to let the user to search the files in side a folder lies with in files folder even if it (the target file /folder) is not listed in the database
uLink.module
The uLink module provides universal filtering which allows user to input tags like [l|link_to_node|text_to_appear|attributes] and replace them with appropriate html code, user defined text or code, or third party rendered text or code to provide links, display images, fill with text or all.
This module defines the protocol and giving the framework to generate the outputs, which can be configured or extended through the settings page and by implementing the hooks. Hence, More than one module may be giving the rendering, in case, they can optionally be enabled, cascaded or optionally added .
Although uLink module is meant to be a skeleton module it gives a default implementation which is dynamic and powerful itself. In the default implementation following modes of implementations are available.
- Default fixed – implementation.
- Implementation using tokens.
- Advance implementation using PHP code, where PHP variables of the link, text, type and other attributes will be made available in the code.
uAuto.module
The uAuto module does auto-completion of links by providing the user with possible links for the text selected or being typed. For example, when user enters ‘[l|use', he will be provided with the possible links that could be connected with the key 'use'. Alternatively, he could select the complete word by double clicking it or highlighting it, and he will be provided with the possible candidates (however only mouse based selections - double click or select highlight - are supported currently).
The uAuto module does auto-completion of links by providing the user with possible links for the text selected or being typed. For example, when user enters '[l|use', he will be provided with the possible links that could be connected with the key “use”. Alternatively, he could select the complete word by double clicking it or highlighting it, and he will be provided with the possible candidates (however only mouse based selections - double click or select highlight - are supported currenly).
The module uses the protocol defined by uLink module and generates the link in the format:
- [l|link] or
- [l|link|text] or
- [l|link|text|attribute]
The module provides an excellent, configurable and extensive search (can be optionally enabled) which can be extended (by implementing the hook under circumstances like connecting two peer sites or supporting external links).
uAuto_dirsearch module is written as a separate module to explain how search functionalities can be extended. It provides the search on local files, even that are not listed in the files table in the database.
- Drupal 5.x
- PHP 5.0.0 or greater
- Filter.module installed
Documentation :
- http://drupal.org/project/issues/ulink
- Comment here
Supported By : Google Summer of Code 2007
- http://demo.theebgar.net/drupal5/ulink
- http://demo.theebgar.net/drupal6/ulink
- Login and edit the page.

