Envira Gallery Documentation

Documentation, Reference Materials and Tutorials for Envira Gallery

Comments Addon

The Comments Addon for Envira Gallery allows visitors to add comments to Gallery images, similar to adding comments to a Post.

Requirements

Installation

Please follow our instructions on how to install and activate addons.

In this instance, you’ll be activating the Envira Comments Addon.


Gallery Options

While editing your gallery, navigate to the Comments tab to begin enabling comments for your gallery.

You can configure your gallery comment settings in the Comments tab.

You’ll find the following options available when editing your galleries:

Comments Gallery Settings

Display Comment Count?
Enables or disables displaying comment counts below each image in the gallery view.

If you enable this option you’ll see the comment count displayed below each gallery image.

If you've enabled comment count for your gallery the count will appear below your gallery images.

Comments Lightbox Settings

Enable Commenting?
Enables or disables commenting functionality on each image in the Lightbox view.

If you enable this option you’ll see the comments and comment form in the gallery lightbox view.

If you've enabled comments for the lightbox view you'll see both comments and the comment form in lightbox view.

Comment Form Title
The title to display above the comments form.

Comment Form Reply Title
The title to display above the comments form when replying to a comment. This title will have the comment’s author name appended to the end of it.

Comment Form Notes above Comment Field
An optional note to display above the comment field.

Comment Form Notes below Comment Field
An optional note to display below the comment field.

Comment Form Fields

  • Name
  • Email
  • URL

Enables or disables fields on the comments form.

Comment Form Button Label
The label to display on the comments form submit button.

Comment Form Success Notice
The message to display when the user successfully submits a comment.

Comments Title
The title to display above the comments list.

Album Options

While editing your album, navigate to the Comments tab to begin enabling comments for your album.

Configure your album comments settings in the Comments tab.

Comments Lightbox Settings

Enable Commenting?
Enables or disables commenting functionality on each image int he Lightbox view.

If you enable this option you’ll see the comments and comment form in lightbox view for each of the galleries in your album.

If you've enabled comments for the lightbox view you'll see both comments and the comment form in lightbox view.

Comment Form Title
The title to display above the comments form.

Comment Form Reply Title
The title to display above the comments form when replying to a comment. This title will have the comment’s author name appended to the end of it.

Comment Form Notes above Comment Field
An optional note to display above the comment field.

Comment Form Notes below Comment Field
An optional note to display below the comment field.

Comment Form Fields

  • Name
  • Email
  • URL

Enables or disables fields on the comments form.

Comment Form Button Label
The label to display on the comments form submit button.

Comment Form Success Notice
The message to display when the user successfully submits a comment.

Comments Title
The title to display above the comments list.


Configuration

This table describes the available configuration options for your Envira Galleries and Albums when using this Addon.

The Programmatic Name and Programmatic Values columns are used when configuring the Dynamic Addon’s shortcode or template tag, or when overriding the default settings for creating a new Gallery or Album.

Comments Tab

You will see the following new options in the Comments tab for Galleries.

Config Item Description Options Programmatic Name Programmatic Values
Gallery Options
Display Comment Count? Enables or disables displaying comment counts below each image in the gallery view. Enabled/Disabled comments_count_display 0,1
Lightbox Options
Enable Commenting? Enables or disables commenting functionality on each image in the Lightbox view. Enabled/Disabled comments_lightbox 0,1
Comment Form Title The title to display above the comments form when replying to a comment. This title will have the comment’s author name appended to the end of it. string comments_lightbox_form_reply_title Any string
Comment Form Reply Title The title to display above the comments form. string comments_lightbox_form_title Any string
Comment Form Notes above Comment Field An optional note to display above the comments form fields. string comments_lightbox_form_notes_before Any string
Comment Form Notes below Comment Field An optional note to display below the comments form fields. string comments_lightbox_form_notes_after Any string
Comment Form Fields Enables or disables fields on the comments form. Enabled/Disabled comments_lightbox_form_author
comments_lightbox_form_email
comments_lightbox_form_url
0,1
Comment Form Button Label The label to display on the comments form submit button. string comments_lightbox_form_button_label Any string
Comment Form Success Notice The message to display when the user successfully submits a comment. string comments_lightbox_form_success Any string
Comment Title The title to display above the comments list. string comments_lightbox_comments_title Any string

You will see the following new options in the Comments tab for Albums:

Config Item Description Options Programmatic Name Programmatic Values
Lightbox Options
Enable Commenting? Enables or disables commenting functionality on each image in the Lightbox view. Enabled/Disabled comments_lightbox 0,1
Comment Form Title The title to display above the comments form. string comments_lightbox_form_title Any string
Comment Form Notes above Comment Field An optional note to display above the comments form fields. string comments_lightbox_form_notes_before Any string
Comment Form Notes below Comment Field An optional note to display below the comments form fields. string comments_lightbox_form_notes_after Any string
Comment Form Fields Enables or disables fields on the comments form. Enabled/Disabled comments_lightbox_form_author
comments_lightbox_form_email
comments_lightbox_form_url
0,1
Comment Form Button Label The label to display on the comments form submit button. string comments_lightbox_form_button_label Any string
Comment Form Success Notice The message to display when the user successfully submits a comment. string comments_lightbox_form_success Any string
Comment Title The title to display above the comments list. string comments_lightbox_comments_title Any string
[i]
[i]