Skip to content

akroii/contao-emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[emoji]

Emoji support for Contao

😀 😂 😍

This extension includes EmojiOne™ - the open emoji standard. To help you deal with all kinds of emotions, I recommend to use the emoji codes cheatsheet or the official chrome extension.

Usage

There are 4 ways to use emoji in Contao.

Shortnames

Using shortnames, like :kissing_heart: or :poop:.

Insert tags

You can also use the {{emoji}} insert tags, like {{emoji::joy}}, {{emoji::smiley_cat}} or {{emoji::heart}}.

Unicode

To store 4 bytes emoji in the database, you need to use at least MySQL 5.5.3 with the character set utf8mb4.

ASCII

Though set up, it isn't working yet. 😢

Frontend

This extension also provides a WYSIWYG like emoji picker for your frontend forms. To do so, include the j_emojionearea template in your layout. The necessary processFormData hook is already setup to convert all emoji to their appropriate shortcode.

Set the size

.emojione,
.emojioneemoji { height: 32px !important; }

About

This is a fork of a deleted Extension. See link for more Informations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages