Tense Log: Templates: commentmessage

Inserts a message giving different feedback on the comment. It must appear inside of a <tenselog:comments> tag. It should always be included in your template if comments will be enabled. It will be wrapped in a <div> tag with the class “commentmessage”.

Attributes

text: the text to insert before any error messages. The default is “This is a preview only. Click the Add Comment button to add your message.”
value: any text to insert if the comment is a preview. The text attribute will be ignore, error messages will not be included, and the output will not be wrapped in a <div>.

Example

<tenselog:comments>
<tenselog:commentmessage />
<h3><tenselog:commentname /> said on <tenselog:commentdate />:</h3>
<tenselog:commenttext />
</tenselog:comments>

Last updated April 09th, 2006

You are here: Tense Code: Tense Log: Templates: commentmessage
Can't find what you're looking for? View a complete site map.