Comment Form Tag

Developer

Laisvunas

3rd Party (Commercial)
Current Version: 1.1

License Agreement

Buy Now!

$20.00
Qty:

EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Extension

Tags

Using Comment Form Tag extension you can add or change any of CSS attributes of the HTML form element exp:comment:entries outputs by adding inside this tag one or more “comment_form_tag” variables.

The problem this extension solves is this: exp:comment:form tag is parsed after all other EE tags which start with “exp”. The result of this is that it is impossible to add or change any of CSS attributes of the HTML form element this tag outputs by wrapping exp:comment:form with some other tag, such as exp:replace or exp:replace_plus. That is, this will not work:

{exp:replace find="comment_form" replace="my_comment_form"}
{exp:comment:form}
{/exp:comment:form}
{/exp:replace}

Using Comment Form Tag extension you can add or change any of CSS attributes of the HTML form element exp:comment:entries outputs by adding inside this tag one or more “comment_form_tag” variables. “comment_form_tag” variable supports following parameters:

1) parameter - required. Allows to specify name of CSS atribute of HTML form element.

2) value - required. Allows to specify value of CSS atribute of HTML form element.

EXAMPLE

The code

{exp:comment:form entry_id="10" preview="site/comment_preview"}
{comment_form_tag parameter="id" value="comment_form_general"}
{comment_form_tag parameter="class" value="my_form"}
{/exp:comment:form} 

will output form tag having following CSS attributes:

<form id="comment_form_general" class="my_form"> 

Comment Form Tag Links

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. comment_form_end

This entry was created April 26, 2010, 12:06 pm.
This entry was last updated April 8, 2012, 11:53 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!