Creating and modifying plugins.
Post Reply
Posts: 1
Joined: Fri Oct 01, 2004 9:01 pm


Post by schrysco » Fri Oct 01, 2004 9:06 pm

Just got into the blog universe-- Wondering if there's any way to add our own emoticons?
I've found the folder-- /templates/default/img/emoticons/

but what controls replacing the shortcuts with the images?

I'm a bit of a newbie, so please be gentle.

Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark

Post by tomsommer » Sun Oct 03, 2004 1:11 am

I think it's described in the README in either / or /templates - and also in the default layout.php
Tom Sommer (Serendipity Core Developer)

User avatar
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Re: Emoticons

Post by garvinhicking » Wed Oct 06, 2004 10:54 am

And also look at the 'emoticate' plugin, which does the actual transformations...
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Little Hamster
Posts: 62
Joined: Thu Oct 07, 2004 3:16 pm

Post by Little Hamster » Thu Oct 07, 2004 3:31 pm

I use a hack to do it. Copy the template (s9y_root/templates) you use to a new directory with a new name. This will create a new theme, btw. The emoticons are in (s9y_root/templates/xxx/img/emoticons). If your chosen template doesn't have the emoticons directory, it's using the ones from the default theme. Overwriting the images in the emoticons directory will make your theme use a different set than the default.

Post Reply