/[drupal]/contributions/modules/nodereference_asmselect/README.txt
ViewVC logotype

Contents of /contributions/modules/nodereference_asmselect/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Oct 15 07:27:14 2008 UTC (13 months, 1 week ago) by electricmonk
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-RC4, DRUPAL-5--1-0-RC1, DRUPAL-5--1-0-RC2, DRUPAL-5--1-0, HEAD
Branch point for: DRUPAL-5
File MIME type: text/plain
Initial commit of the module source
1 // $Id$
2
3 CONTENTS OF THIS FILE
4 ---------------------
5
6 * Introduction
7 * Installation
8 * Usage
9
10
11 INTRODUCTION
12 ------------
13
14 Author:
15 * Shai Yallin (electricmonk)
16
17 Module development has been sponserd by Ewave (http://www.ewave.co.il)
18
19 ASM Select (http://code.google.com/p/jquery-asmselect/) is a progressive enhancement
20 to <select multiple> form elements. It provides a simpler alternative with the following
21 advantages:
22
23 * Easier for users to understand and interact with than regular <select multiple> form
24 elements. Users know how to interact with it sans instruction.
25
26 * Doesn't require user to Ctrl-Click or Shift-Click multiple elements. Instead users of
27 your form can add or remove elements individually, without risk of losing those that
28 have already been selected.
29
30 * Selected elements are always visible (within the confines of your interface) while
31 unselected elements are always hidden (within a regular <select>).
32
33 * Unlike regular <select multiple> option elements, those on asmSelect are optionally
34 sortable with drag and drop (this part requires jQuery UI).
35
36 * asmSelect hides, maintains and updates the original <select multiple> so that no
37 changes are required to existing code.
38
39 * If a user does not have javascript, then of course the regular <select multiple> form
40 element is used instead.
41
42 * If the original <select multiple> form element is modified by some other jQuery or
43 javascript code, the change will be reflected in the asmSelect as well.
44
45 This module adds a new CCK Node Reference widget option (in addition to Select and Auto
46 Complete) which seamlessly integrates ASM support into all Drupal forms.
47
48
49 INSTALLATION
50 ------------
51
52 1. Copy the nodereference_asmselect module directory to your sites/SITENAME/modules
53 directory.
54
55 2. Download ASM Select from http://code.google.com/p/jquery-asmselect/ (last known version
56 to work is 1.02 beta)
57
58 3. Extract it as a sub-directory called 'asmselect' in the module folder:
59
60 /sites/all/modules/nodereference_asmselect/asmselect/
61
62 4. Enable the module at Administer >> Site building >> Modules.
63
64
65 USAGE
66 -----
67
68 Create a CCK Node Reference field and choose ASM Select as the form widget. You can then
69 control the different settings of yoru widget. The JQuery UI Module
70 (http://drupal.org/project/jquery_ui) is required in order to use the sort feature.

  ViewVC Help
Powered by ViewVC 1.1.2