| 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
|