NewsFeaturesDownloadsDevelopmentSupportAbout Us
Plugin smileys

Plugin smileys

From LifeType Wiki


Name: Smiley

Latest version: 20070226

Download link: http://prdownloads.sourceforge.net/lifetype/1.2_smileys.zip?download

License: GPL

Author: The LifeType Project

[edit] Description

This plugin offers you to show the smileys in comments and articles.

[edit] Configuration

The plugin configuration page can be found under Control Center->Appearance Management.

You can use:

  1. $smileys->generateSmileysBar() to show visual smileys tool bar.

Add the following code to commentForm.template after commentText text area:

{if $smileys->isEnabled()}
<script type="text/javascript" src="{$url->getBaseUrl()}/plugins/smileys/js/smileys/smileys.js"></script>
<br/><label for="smileysBar"></label>{$smileys->generateSmileysBar()}
{/if}

[edit] Notes

In order for this plugin to work, you need to change the "id" attribute of your form in commentsform.template so that it has "NewComment" as the value, as in:

<form id="NewComment" name="NewComment" ....>
...
</form>

There is no need to change the value of your current "name" attribute.