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

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

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


Revision 1.1 - (show annotations) (download)
Sun Nov 16 15:49:56 2008 UTC (12 months, 1 week ago) by toemaz
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
First commit
1 Module: JQuery Freebase
2 Author: Thomas Bonte <www.thomasbonte.net>
3
4 Description
5 ===========
6 Adds the Freebase Suggest JQuery plugin functionality to your Drupal website.
7
8 Requirements
9 ============
10 Drupal jq module: http://drupal.org/project/jq
11 jquery.freebase.suggest package from http://code.google.com/p/freebase-suggest
12
13
14 Installation
15 ============
16 1. Copy the 'jquery_freebase' module directory in to your Drupal
17 sites/all/modules directory as usual
18 2. Download the jquery.freebase.suggest package from http://code.google.com/p/freebase-suggest
19 Check your Drupal jquery version for compactibility
20 3. Extract jquery.freebase.suggest package in the jquery_freebase module directory
21 4. Change the name of package folder (e.g. jquery.freebase.suggest-0.4) to freebase
22 5. Download, install and enable the Drupal jq module http://drupal.org/project/jq
23 6. Enable jq & jquery_freebase under admin/build/modules
24 7. Check on admin/settings/jq whether you see the freebase plugin
25
26 Usage
27 =====
28 This module does nothing from itself. It offers other modules who implement forms to add Freebase suggest to it.
29 Example code:
30
31 if (module_exists('jquery_freebase')) {
32 jq_add('freebase');
33 drupal_add_js(
34 "$(document).ready(function() {
35 $('#edit-artist').freebaseSuggest( {ac_param:{type:'/music/artist'}} );
36 $('#edit-track').freebaseSuggest( {ac_param:{type:'/music/track'}} );
37 });
38 ",
39 'inline'
40 );
41 }
42
43
44
45 Support
46 =======
47 Offcial Drupal project page
48 http://drupal.org/project/jquery_freebase
49
50 File a bug or support request at
51 http://drupal.org/project/issues/jquery_freebase

  ViewVC Help
Powered by ViewVC 1.1.2