You are here

README.txt in Custom Formatters 6

The Custom Formatters module allows users to easily create custom CCK Formatters
without the need to write a custom module. Custom Formatters can then be
exported as Features or Drupal API Formatters.

Custom Formatters was written and is maintained by Stuart Clark (deciphered).
- http://stuar.tc/lark
- http://twitter.com/Decipher


Features
--------------------------------------------------------------------------------

* Two different editor modes:
  * Basic: A HTML based editor with Token support.
  * Advanced: A PHP based editor with support for multiple fields and multiple
    values.
* Support for:
  * CCK fields.
  * CCK Fieldgroups.
  * CCK 3.x Multigroups.
  * Display Suite fields.
  * Views.
* Exportable as:
  * Drupal API formatter via:
    * Custom Formatters export interface.
  * Custom Formatters exportable via:
    * Custom Formatters export interface.
    * Features module.
* Live preview (requires Devel generate module).
* Integrates with:
  * Features module - Adds dependent Custom Formatters (from Views or Content
      types) to Feature.
  * Insert module - Exposes Custom Formatters to the Insert module.
  * Libraries API module and the EditArea javascript library - Adds real-time
      syntax highlighting.


Required Modules
--------------------------------------------------------------------------------

* Content Construction Kit (CCK)  - http://drupal.org/project/cck
* Token - http://drupal.org/project/token


Recommended Modules
--------------------------------------------------------------------------------

* Devel (includes Devel generate) - http://drupal.org/project/devel
* Libraries API - http://drupal.org/project/libraries


Usage
--------------------------------------------------------------------------------

Custom Formatters can be managed on the 'Custom Formatters'
overview page: 'Administer > Site configuration > Custom Formatters'.
http://[www.yoursite.com/path/to/drupal]/admin/build/formatters

More information on usage, including tips & tricks, can be found in help:
http://[www.yoursite.com/path/to/drupal]/admin/help/custom_formatters


EditArea - Real-time syntax highlighting
--------------------------------------------------------------------------------

The EditArea javascript library adds real-time syntax highlighting, to install
it follow these steps:

1. Download and install the Libraries API module.
    http://drupal.org/project/libraries

2. Download the EditArea library and extract and move it into your libraries
   folder as 'editarea' (eg. sites/all/libraries/editarea).
    http://sourceforge.net/projects/editarea/files/EditArea/EditArea%200.8.2/editarea_0_8_2.zip/download


Upgrading
--------------------------------------------------------------------------------

Custom Formatters 1.2 adds the requirement of the Token module, you MUST install
and enable the module if you have not already done so or you will run into
issues.

And as always, be sure to run update.php after updating Custom Formatters.
http://[www.yoursite.com/path/to/drupal]/update.php


Developers
--------------------------------------------------------------------------------

Please refer to DEVELOPERS.txt for information on provided improved support for
your modules defined CCK fields with the Custom Formatters module.

File

README.txt
View source
  1. The Custom Formatters module allows users to easily create custom CCK Formatters
  2. without the need to write a custom module. Custom Formatters can then be
  3. exported as Features or Drupal API Formatters.
  4. Custom Formatters was written and is maintained by Stuart Clark (deciphered).
  5. - http://stuar.tc/lark
  6. - http://twitter.com/Decipher
  7. Features
  8. --------------------------------------------------------------------------------
  9. * Two different editor modes:
  10. * Basic: A HTML based editor with Token support.
  11. * Advanced: A PHP based editor with support for multiple fields and multiple
  12. values.
  13. * Support for:
  14. * CCK fields.
  15. * CCK Fieldgroups.
  16. * CCK 3.x Multigroups.
  17. * Display Suite fields.
  18. * Views.
  19. * Exportable as:
  20. * Drupal API formatter via:
  21. * Custom Formatters export interface.
  22. * Custom Formatters exportable via:
  23. * Custom Formatters export interface.
  24. * Features module.
  25. * Live preview (requires Devel generate module).
  26. * Integrates with:
  27. * Features module - Adds dependent Custom Formatters (from Views or Content
  28. types) to Feature.
  29. * Insert module - Exposes Custom Formatters to the Insert module.
  30. * Libraries API module and the EditArea javascript library - Adds real-time
  31. syntax highlighting.
  32. Required Modules
  33. --------------------------------------------------------------------------------
  34. * Content Construction Kit (CCK) - http://drupal.org/project/cck
  35. * Token - http://drupal.org/project/token
  36. Recommended Modules
  37. --------------------------------------------------------------------------------
  38. * Devel (includes Devel generate) - http://drupal.org/project/devel
  39. * Libraries API - http://drupal.org/project/libraries
  40. Usage
  41. --------------------------------------------------------------------------------
  42. Custom Formatters can be managed on the 'Custom Formatters'
  43. overview page: 'Administer > Site configuration > Custom Formatters'.
  44. http://[www.yoursite.com/path/to/drupal]/admin/build/formatters
  45. More information on usage, including tips & tricks, can be found in help:
  46. http://[www.yoursite.com/path/to/drupal]/admin/help/custom_formatters
  47. EditArea - Real-time syntax highlighting
  48. --------------------------------------------------------------------------------
  49. The EditArea javascript library adds real-time syntax highlighting, to install
  50. it follow these steps:
  51. 1. Download and install the Libraries API module.
  52. http://drupal.org/project/libraries
  53. 2. Download the EditArea library and extract and move it into your libraries
  54. folder as 'editarea' (eg. sites/all/libraries/editarea).
  55. http://sourceforge.net/projects/editarea/files/EditArea/EditArea%200.8.2/editarea_0_8_2.zip/download
  56. Upgrading
  57. --------------------------------------------------------------------------------
  58. Custom Formatters 1.2 adds the requirement of the Token module, you MUST install
  59. and enable the module if you have not already done so or you will run into
  60. issues.
  61. And as always, be sure to run update.php after updating Custom Formatters.
  62. http://[www.yoursite.com/path/to/drupal]/update.php
  63. Developers
  64. --------------------------------------------------------------------------------
  65. Please refer to DEVELOPERS.txt for information on provided improved support for
  66. your modules defined CCK fields with the Custom Formatters module.