You are here

README.txt in Smiley 7.2

Same filename and directory in other branches
  1. 6 README.txt
  2. 7 README.txt
CONTENTS OF THIS FILE
---------------------

* Overview
* Features
* Requirements
* Installation
* Known problems
* Version history
* Future plans
* Similar projects
* Credits

OVERVIEW
--------

This module aims to provide an API for adding graphical smileys to Drupal "long
text" fields (e.g.: node bodies, comments) through a text filter.

The smiley_kobolok module aims to provide a basic set of smileys and serve as an
example of how to implement the Smiley API.

FEATURES
--------

* Provides a "Convert smileys to images" text filter which replaces specific
  text with a graphical smiley.
* Supports replacing text with <img> tags or <span>-tags-with-background-images.
* Provides a hook to allow other module developers to define their own smileys.

REQUIREMENTS
------------

None, besides Drupal 7!

INSTALLATION
------------

1. Download and install the smiley project.

   Install as usual, see https://drupal.org/node/895232 for further information.

2. Add the smiley filter to a text format.

   Go to Administration -> Configuration -> Content authoring -> Text formats.

   You will see one or more text formats listed, typically Filtered HTML, Full
   HTML and Plain text. Click the "configure" link in the Operations column next
   to the text format you want to enable smileys in.

   You will see the text format configuration screen. Under "Enabled filters",
   check "Convert smileys to images". In the Filter processing order section,
   ensure "Convert smileys to images" is placed below "Limit allowed HTML tags".
   Otherwise, your smileys may not show up.

KNOWN PROBLEMS
--------------

The smiley_wysiwyg module needs to be ported from smiley-1.x to smiley-2.x.

VERSION HISTORY
---------------

The 1.x branch provides a text filter which replaces text smileys with <img>
tags in long text fields. The mappings between text smileys and images is stored
in a database table. Smileys can be added by putting them into special
filesystem directories.

The 2.x branch is a full rewrite. Like the 1.x branch, it provides an text
filter to replace smileys, but it can replace them with either <img> tags or
<span>-tags-with-background-images. Both approaches use the theme layer,
allowing other modules and themes to control the output. Smiley-image mappings
can be defined by implementing hook_smiley_replacements() in a custom module and
stored by caches.

FUTURE PLANS
------------

It would be useful to display the list of available smileys as a long filter
tip.

It would be good to bring back integration with wysiwyg. Since Drupal 8 will
have CKEditor installed by default, integration with CKEditor will probably get
done first, but feel free to contribute patches for your favourite editor!

SIMILAR PROJECTS
----------------

We're not aware of any modules similar to this one.

CREDITS
-------

This module was originally written and maintained up to Drupal's 4.7 release by
unconed (Steven Wittens).

Gurpartap Singh maintained the module until Drupal 6's release.

fizk (Yonas Yanfa) and mparker17 currently maintain the module.

The kolobok smileys were contributed by Mantsurov Ivan, aka Aiwan
(http://www.en.kolobok.us).

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Overview
  4. * Features
  5. * Requirements
  6. * Installation
  7. * Known problems
  8. * Version history
  9. * Future plans
  10. * Similar projects
  11. * Credits
  12. OVERVIEW
  13. --------
  14. This module aims to provide an API for adding graphical smileys to Drupal "long
  15. text" fields (e.g.: node bodies, comments) through a text filter.
  16. The smiley_kobolok module aims to provide a basic set of smileys and serve as an
  17. example of how to implement the Smiley API.
  18. FEATURES
  19. --------
  20. * Provides a "Convert smileys to images" text filter which replaces specific
  21. text with a graphical smiley.
  22. * Supports replacing text with tags or -tags-with-background-images.
  23. * Provides a hook to allow other module developers to define their own smileys.
  24. REQUIREMENTS
  25. ------------
  26. None, besides Drupal 7!
  27. INSTALLATION
  28. ------------
  29. 1. Download and install the smiley project.
  30. Install as usual, see https://drupal.org/node/895232 for further information.
  31. 2. Add the smiley filter to a text format.
  32. Go to Administration -> Configuration -> Content authoring -> Text formats.
  33. You will see one or more text formats listed, typically Filtered HTML, Full
  34. HTML and Plain text. Click the "configure" link in the Operations column next
  35. to the text format you want to enable smileys in.
  36. You will see the text format configuration screen. Under "Enabled filters",
  37. check "Convert smileys to images". In the Filter processing order section,
  38. ensure "Convert smileys to images" is placed below "Limit allowed HTML tags".
  39. Otherwise, your smileys may not show up.
  40. KNOWN PROBLEMS
  41. --------------
  42. The smiley_wysiwyg module needs to be ported from smiley-1.x to smiley-2.x.
  43. VERSION HISTORY
  44. ---------------
  45. The 1.x branch provides a text filter which replaces text smileys with
  46. tags in long text fields. The mappings between text smileys and images is stored
  47. in a database table. Smileys can be added by putting them into special
  48. filesystem directories.
  49. The 2.x branch is a full rewrite. Like the 1.x branch, it provides an text
  50. filter to replace smileys, but it can replace them with either tags or
  51. -tags-with-background-images. Both approaches use the theme layer,
  52. allowing other modules and themes to control the output. Smiley-image mappings
  53. can be defined by implementing hook_smiley_replacements() in a custom module and
  54. stored by caches.
  55. FUTURE PLANS
  56. ------------
  57. It would be useful to display the list of available smileys as a long filter
  58. tip.
  59. It would be good to bring back integration with wysiwyg. Since Drupal 8 will
  60. have CKEditor installed by default, integration with CKEditor will probably get
  61. done first, but feel free to contribute patches for your favourite editor!
  62. SIMILAR PROJECTS
  63. ----------------
  64. We're not aware of any modules similar to this one.
  65. CREDITS
  66. -------
  67. This module was originally written and maintained up to Drupal's 4.7 release by
  68. unconed (Steven Wittens).
  69. Gurpartap Singh maintained the module until Drupal 6's release.
  70. fizk (Yonas Yanfa) and mparker17 currently maintain the module.
  71. The kolobok smileys were contributed by Mantsurov Ivan, aka Aiwan
  72. (http://www.en.kolobok.us).