Main page
Recent changes
UserGuide: Comments plugin
B
I
U
S
link
image
code
list
Show page
Syntax
!Template Appearance of the comments can be arbitrarily changed using its template located in ''plugins/Comments/template.html''. Comments template is divided into two sections: * Form - contains form with input fields etc., it is rendered only once * Comments - is enclosed in ''{item}'' and ''{/item}'' and is rendered for each comment !!Form tags * ^{COMMENTS} - localized "comments" * {FORM_NAME} - localized "name" * {FORM_EMAIL} - localized "email" * {FORM_CONTENT} - localized "content" * {FORM_SUBMIT} - localized "submit" * {NUMBER_OF_COMMENTS} - number of comments :) Following are values of previously submitted comment which failed captcha text. Theys should be placed inside the ''value=""'' and textarea. * {FORM_NAME_VALUE} * {FORM_EMAIL_VALUE} * {FORM_CONTENT_VALUE} !!Comment tags These can only be used inside the ''{item}{/item}''. * {CONTENT} - contains actual comment content * {NAME} - name of the author * {EMAIL} - email of the author * {NAME_TO_EMAIL} - returns name as a link to the email, if filled, or just plain name if not filled * ^{IP} - IP of the author * ^{DATE} - date of the comment, formatted using the $DATE_FORMAT set in the core LionWiki * {NUMBER} - chronological number of the comment
Password
Summary of changes