By TSNetwork on
Hello,
here's what I need. I'll just give an example to make things easier.
When someone writes the word "emotion" in their comment, the word automatically changes to an image of an emoTIcon when they post.
I'll try to explain it now. I need some way to have words in comments converted automatically to embeded images or flash movies.
How do I do that? I tried a couple of things that didn't work, maybe you can recommend a module?
Thank you.
Comments
http://drupal.org/node/210551
http://drupal.org/node/210551
Thanks for the detailed post
Thanks for the detailed post but I don't see how can I do that with this module...
When text is being rendered
When text is being rendered for output, filters let you modify the text before the user sees it. Typically this is stuff like removing dangerous html, or converting strings like "#12345: How do I log in as admin?" into a url "http://drupal.org/node/12345". In your case, you want to convert the emoticon into an image.
This article is a very detailed explanation of how filters and input formats work - http://www.lullabot.com/articles/drupal-input-formats-and-filters
This module looks very similar to what you're describing, http://drupal.org/project/smileys
Hope that helps!