Dylan Wagstaff dc1f8622e0 FIX show name of members in summary tables
Anonymous comments (posted by the public at large) must have a name
and an email address associated with them. On the other hand, a logged
in user will have the `Member` record details used for this information,
via the Author relationship.

However the summary fields do not allow for this, and only reference
Name and Email on the Comment model directly, so any comment posted by a
logged in member has no data for name and email displayed in the various
GridFields in the CMS for administering comments (either per page, or in
the global ModelAdmin).

To recitfy this we can change the summary fields to use getter methods
that will return the Comment model info, or fall back to the Author
associated Member record if Name and Email are unset on the Comment.
2019-01-11 11:48:51 +13:00
2017-09-14 11:12:07 +12:00
2017-07-19 16:04:34 +01:00
2015-11-19 13:24:59 +13:00
2018-06-11 12:15:09 +12:00
2016-01-01 06:42:13 +13:00

Comments

Build Status Scrutinizer Code Quality Code Coverage

Introduction

This module provides commenting functionality for Pages and other DataObjects on your SilverStripe site.

For more documentation about the module see the provided documentation located inside the docs folder.

Requirements

  • SilverStripe ^4.0

Note: This branch is compatible with SilverStripe 4. For a SilverStripe 3 release, please see the 2.x release line.

Installation

composer require silverstripe/comments

See docs/en/Installing.md

Contributing

Translations

Translations of the natural language strings are managed through a third party translation interface, transifex.com. Newly added strings will be periodically uploaded there for translation, and any new translations will be merged back to the project source code.

Please use https://www.transifex.com/projects/p/silverstripe-comments/ to contribute translations, rather than sending pull requests with YAML files.

See the "i18n" topic on doc.silverstripe.org for more details.

Description
No description provided
Readme 3.7 MiB
Languages
PHP 91.9%
JavaScript 3.7%
Scheme 2.9%
SCSS 1.5%