Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I disable Smiley in the administration form, this will have no effect in the front-end as smiley will still be rendered
Comment | File | Size | Author |
---|---|---|---|
#3 | fix-toogle-smileys.patch | 2.26 KB | mikaoelitiana@gmail.com |
Comments
Comment #1
darklrd CreditAttribution: darklrd commentedDid you try clearing Drupal and browser cache? Thanks.
Comment #2
mikaoelitiana@gmail.com CreditAttribution: mikaoelitiana@gmail.com commentedYes I have cleared cache many times. I think this is not cache problem but code problem. In the js file, you can see
message = emotify(message);
So the emotify is always called without checking if smileys should be rendered or not.
Comment #3
mikaoelitiana@gmail.com CreditAttribution: mikaoelitiana@gmail.com commentedHere is a patch for the version 7.x-1.0-beta25 that I am using on the production website. It solved it for me.
Comment #4
darklrd CreditAttribution: darklrd commentedThanks for the patch. It has been committed - http://drupalcode.org/project/drupalchat.git/commit/5bdcec5.
Comment #5
mikaoelitiana@gmail.com CreditAttribution: mikaoelitiana@gmail.com commentedYou are welcome! Thanks