Make doublecache a global option, since Drupal doesn't support it per-filter.
[htmlpurifier-drupal.git] / INSTALL.txt
blobbca5148b001274430b33b91292aa0e4bc3cea0e6
1 PREREQUISITES: Make sure you check HTML Purifier and make sure that you
2 have fulfilled all of its requirements before running this.  Specifically,
3 you'll need the PHP extension ctype (in almost all PHP distributions),
4 and it's nice to have dom and iconv.
6 * Place the htmlpurifier folder in your drupal modules directory.
8 * Download HTML Purifier from http://htmlpurifier.org/ You will need
9   4.0.0 or later.
11 * Extract the "library" folder and place it inside your modules/htmlpurifier
12   directory.
14 * Go to Administer > Site building > Modules and enable this module
16 * You can now create a new input format or add the HTML Purifier to an 
17   existing input format. It is recommended that you place HTML Purifier as 
18   the last filter in the input format. Reorder the filters if necessary.
20 WARNING: Due to HTML Purifier's caching mechanism, dynamic filters MUST NOT
21 be placed before HTML Purifier.