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

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

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


Revision 1.2 - (show annotations) (download)
Mon Nov 27 16:25:04 2006 UTC (3 years ago) by arthuregg
Branch: MAIN
CVS Tags: DRUPAL-4-7--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-4-7
Changes since 1.1: +14 -4 lines
File MIME type: text/plain
- added admin functions to set css replacement
- switched to using filters instead of nodeapi
- added prem hook
- tested on 4.7.4

This is the first checkin that I've done of this module. If you require the message functionality (ie: setting a message when a term is highlighted) this is currently not supported
1 highlight.module
2 README.txt
3
4 Tested on: drupal 4.7.4
5
6 Description
7 ------------
8
9 The highlight module highlights terms on a node's page. It's probably
10 most useful for highlighting search keywords in pages.
11
12 Usage
13 -----
14
15 1) activate "highlight" module in admin > modules
16 2) add the filter to input formats admin > input formats
17 3) customize highlighting admin > settings > highlight (optional)
18 4) customize css for (optional)
19
20 Once the module is enabled, it will highlight keywords
21 passed into node pages. To pass the keywords in, append them to the
22 url as a comma-separated list in the form
23
24 &highlight=first,second,third
25
26 An example url might look like
27
28 http://www.example.org/?q=node/34&highlight=first,second
29
30 Additionally, the module will pick up search terms from
31 search/node/myTerm and highlight instances of myTerm on the
32 node page.
33
34 Questions? Contact arthur @ civicactions . com

  ViewVC Help
Powered by ViewVC 1.1.2