b6a2c608ac
Previous versions had individual spam and approve buttons for a comment in the admin area on the GridField row. However with the upgrade to SilverStripe 4, and particularly 4.2, these were having layout issues with the new GridField Action Menu component that groups actions together. The solution here is to put them into aforementioned gridfield action menu component, with the other actions for that row. However this requires two separate grid field components (one each for the two comment actions) - previously these were a single component that output two buttons instead of one each. This also reduces coupling, which is nice :) The previous class is still maintained for backwards compatibilty, but is deprecated. |
||
---|---|---|
_config | ||
.tx | ||
css | ||
docs/en | ||
javascript | ||
lang | ||
scss | ||
src | ||
templates | ||
tests | ||
thirdparty/jquery-validate | ||
_config.php | ||
.codecov.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.scrutinizer.yml | ||
.travis.yml | ||
.upgrade.yml | ||
code-of-conduct.md | ||
composer.json | ||
license.md | ||
package.json | ||
phpcs.xml.dist | ||
phpunit.xml.dist | ||
README.md | ||
webpack.config.js | ||
yarn.lock |
Comments
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
Related
- silverstripe/silverstripe-comments-notifications: Comment admin email notifications module
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.