Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Tile for showing most recent discussion items.

Features

  • “Latest comments” tile with several fields to determine which discussion items to show.

Inspiration was taken from collective.portlet.discussion.

Installation

Install collective.tiles.discussion by adding it to your buildout:

[buildout]

...

eggs =
    collective.tiles.discussion

and then running bin/buildout.

You probably want to add a tile management package as well, for example plone.app.mosaic.

Usage

  • Create a Classic UI Plone Site.

  • In the Discussion control panel globally enable comments.

  • In the Content Settings control panel enable comments on Page, or any content type that you want.

  • Add one or more comments.

  • Go to the Add-ons control panel.

  • Activate plone.app.mosaic or some other tile management package.

  • Activate collective.tiles.discussion.

  • Create a page.

  • Set its display to layout_view for Mosaic.

  • Edit the page. The layout view should be active now.

  • Insert a “Latest comments” tile, configure it, and save the page.

  • Now the tile should show a list with the latests comments.

Note that there is also a “Discussions” tile in plone.app.standardtiles. This shows the comments of the current page, plus an add-form for a new comment.

Filter on review states

In the tile you can filter on review state if you want. By default Discussion Items have only one state: published. In this case a filter is not needed.

In the Discussion control panel you can enable comment moderation. This enables a workflow with more states. Comments start in the pending state, and can be published, rejected, or marked as spam.

Currently, in Plone 6.0.6, without filter, an anonymous user will see Discussion Items from the states published, rejected, and spam. So you may want to explicitly filter on the published state in the tile, and possibly pending.

Contribute

If you are having issues, or want to contribute a bugfix or feature, please let us know.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0.0a1 (2023-08-31)

  • Initial release. [mauritsvanrees]

Metadata

Release files for collective.tiles.discussion 1.0.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.tiles.discussion 1.0.0a1
File Size Uploaded
collective.tiles.discussion-1.0.0a1.tar.gz 19.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for collective.tiles.discussion 1.0.0a1
File Interpreter ABI Platform
collective.tiles.discussion-1.0.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 47.4 kB

Release files / collective.tiles.discussion-1.0.0a1.tar.gz

Download URL collective.tiles.discussion-1.0.0a1.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c67cafc459cac9e3b5f982c7f828a02e6231b2e915ab7ae144939d57add65369
BLAKE2b-256 checksum
How to use checksums
db04794a87de2f5eb0814c9079f1ac2224ab3ba1ed4314ad3616c12ef2baccaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / collective.tiles.discussion-1.0.0a1-py3-none-any.whl

Download URL collective.tiles.discussion-1.0.0a1-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f67ea921711f447edd141df31f97897179bb118d198cdff36fdbbe1e7f86bdf0
BLAKE2b-256 checksum
How to use checksums
4c60ad6a20adce57cdc7d026297354b30109a804ddfbd3ae6a3fd6adcd2894ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.0.0a1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page