You are here

INSTALL.txt in HTML Purifier 5

Same filename and directory in other branches
  1. 6.2 INSTALL.txt
  2. 6 INSTALL.txt
  3. 7.2 INSTALL.txt
  4. 7 INSTALL.txt
* Place the htmlpurifier folder in your drupal modules directory.

* Download HTML Purifier. If your host is running PHP 4, you will need to
  install the 2.1 series; please see this URL:
  
    http://htmlpurifier.org/download.html#PHP4
  
  If you're on PHP 5, use this URL:
  
    http://htmlpurifier.org/download.html

* IF YOU DOWNLOADED THE REGULAR OR LITE DISTRIBUTION:
  Extract the "library" folder and place it inside your modules/htmlpurifier
  directory.

* IF YOU DOWNLOADED THE STANDALONE DISTRIBUTION:
  Create a library folder in your modules/htmlpurifier directory.
  Then, extract the "htmlpurifier-x.y.z" folder and place its contents
  (HTMLPurifier.standalone.php and the standalone folder) inside the library
  folder. Rename HTMLPurifier.standalone.php to HTMLPurifier.auto.php.

* Go to Administer > Site building > Modules and enable this module

* You can now create a new input format or add the HTML Purifier to an 
  existing input format. It is recommended that you place HTML Purifier as 
  the last filter in the input format. Reorder the filters if necessary.

File

INSTALL.txt
View source
  1. * Place the htmlpurifier folder in your drupal modules directory.
  2. * Download HTML Purifier. If your host is running PHP 4, you will need to
  3. install the 2.1 series; please see this URL:
  4. http://htmlpurifier.org/download.html#PHP4
  5. If you're on PHP 5, use this URL:
  6. http://htmlpurifier.org/download.html
  7. * IF YOU DOWNLOADED THE REGULAR OR LITE DISTRIBUTION:
  8. Extract the "library" folder and place it inside your modules/htmlpurifier
  9. directory.
  10. * IF YOU DOWNLOADED THE STANDALONE DISTRIBUTION:
  11. Create a library folder in your modules/htmlpurifier directory.
  12. Then, extract the "htmlpurifier-x.y.z" folder and place its contents
  13. (HTMLPurifier.standalone.php and the standalone folder) inside the library
  14. folder. Rename HTMLPurifier.standalone.php to HTMLPurifier.auto.php.
  15. * 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.