Porting Templates » Plugin requireemail » PLog 1.0/Admin… for Subdomains » About LifeType » 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
Description
This plugin offers you to show the smileys in comments and articles.
Configuration
The plugin configuration page can be found under Control Center->Appearance Management.
You can use:
- $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}
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.
