1 ********************************************************************
2 D R U P A L M O D U L E
3 ********************************************************************
4 Name: TOC Formatter Module
5 Author: Robert Castelo <www.codepositive.com>
7 ********************************************************************
10 Display formatter that adds a table of contents set of links to the
11 top of a text area field, and back to top links at the end of each
17 ********************************************************************
19 This module use PHP DOMDocument functions and requires the libxml
20 PHP extension. More info here:
22 http://www.php.net/manual/en/dom.requirements.php
26 ********************************************************************
29 Note: It is assumed that you have Drupal up and running. Be sure to
30 check the Drupal web site if you need assistance.
32 1. Place the entire directory into your Drupal directory:
36 2. Enable the module by navigating to:
38 administer > build > modules
40 Click the 'Save configuration' button at the bottom to commit your
45 ********************************************************************
48 Can be used on any text area field.
50 On the 'Display fields' settings of a content type set the display
51 formatter of the field to 'Table Of Contents'.
53 Can also be set on the field settings of a View.
56 ********************************************************************
60 - Comission New Features:
61 http://drupal.org/user/3555/contact
63 - Want To Say Thank You:
64 http://www.amazon.com/gp/registry/O6JKRQEQ774F
67 ********************************************************************