You are here

INSTALL.txt in GeSHi Filter for syntax highlighting 5

GeShiFilter Module

********************************************************************
                     D R U P A L    M O D U L E
********************************************************************
Name: GeShiFilter module

Maintainers:  Damien Pitard <dpdev00 AT gmail DOT com>

Dependancies:
  This module requires the third-party php application GeSHi - Generic
  Syntax Highlighter by Nigel McNie <nigel at geshi dot org>.

INSTALLATION:
********************************************************************

NOTE: During this installation process you'll be asked to also 
      install the official GeSHi package from 
      http://qbnz.com/highlighter/.


1. Place the entire geshifilter directory into your Drupal modules/
   directory.

   
2. Download GeSHi latest release from

     http://qbnz.com/highlighter/

   Remember to uncompress the file and make sure the folder is named
   'geshi'.

   
3. Place the entire 'geshi' engine folder (where geshi.php resides)
inside your modules/geshifilter directory. So the Geshi engine will live
in modules/geshifilter/geshi

   
4. Enable this module by navigating to:

     administer > modules

     
5. Set the GeShi filter configuration options by navigating to:

     administer > settings > geshifilter

     
6. Enable the GeShi filter in one of your input formats in:

     administer > input formats

	 This filter should play well with other filters, but
   it might need to be placed after the HTML filter ("rearrange" tab of
   your input format).
   
   You need to configure specific format settings (default language,
    languages allowed...) in the "configure" tab of your input format).

	 If HTML filter is enable, don't forget to add <blockcode> tag in 
	 "Allowed HTML tags" textfield of HTML filter settings.

   
Create new content and see GeShi in action!

File

INSTALL.txt
View source
  1. GeShiFilter Module
  2. ********************************************************************
  3. D R U P A L M O D U L E
  4. ********************************************************************
  5. Name: GeShiFilter module
  6. Maintainers: Damien Pitard
  7. Dependancies:
  8. This module requires the third-party php application GeSHi - Generic
  9. Syntax Highlighter by Nigel McNie .
  10. INSTALLATION:
  11. ********************************************************************
  12. NOTE: During this installation process you'll be asked to also
  13. install the official GeSHi package from
  14. http://qbnz.com/highlighter/.
  15. 1. Place the entire geshifilter directory into your Drupal modules/
  16. directory.
  17. 2. Download GeSHi latest release from
  18. http://qbnz.com/highlighter/
  19. Remember to uncompress the file and make sure the folder is named
  20. 'geshi'.
  21. 3. Place the entire 'geshi' engine folder (where geshi.php resides)
  22. inside your modules/geshifilter directory. So the Geshi engine will live
  23. in modules/geshifilter/geshi
  24. 4. Enable this module by navigating to:
  25. administer > modules
  26. 5. Set the GeShi filter configuration options by navigating to:
  27. administer > settings > geshifilter
  28. 6. Enable the GeShi filter in one of your input formats in:
  29. administer > input formats
  30. This filter should play well with other filters, but
  31. it might need to be placed after the HTML filter ("rearrange" tab of
  32. your input format).
  33. You need to configure specific format settings (default language,
  34. languages allowed...) in the "configure" tab of your input format).
  35. If HTML filter is enable, don't forget to add tag in
  36. "Allowed HTML tags" textfield of HTML filter settings.
  37. Create new content and see GeShi in action!