Oct 20 2007
Plugin: mg_comments_form
The plugin <txp:mg_comments_form />
allows you to change the class on the paragraph that appears after a comment is posted successfully.
<txp:mg_comments_form />
Attributes
This plugin takes the same attributes as the stock comments_form
tag ( found here ), with the following addition:
- pclass: This is the CSS class that will be applied to the paragraph that appears after a comment has been posted successfully.
Examples
<txp:mg_comments_form pclass="success" />
Using the above will simply place the class “success” on the paragraph that appears after a comment is posted successfully. You can then use CSS to style the paragraph in any way you want.
Notes on Usage
Pretty straighforward. The added functionality is described above.
Credits
Based on base txp code with the modest additions described above.