Skip to content
sjarvela edited this page Mar 11, 2015 · 3 revisions

Comments plugin is built-in plugin that provides possibility to comment any file or folder.

Configuration

Backend

Configure plugin by adding following into configuration.php (or merge into existing plugins array):

$CONFIGURATION = array(
	...,
	"plugins" => array(
		"Comment" => array()
	)
);

Client

Add following into client settings:

mollify.App.init({
	...
	}, [
		new mollify.plugin.CommentPlugin()
	]
});

NOTE After configuration is done, comments plugin requires installation via Mollify update util.

File list columns

Comments plugin provides comments count column with column id comment-count. For example:

mollify.App.init({
	...
	"list-view-columns": {
		"name": {},
		"comment-count": {},
		"type": {},
		"size": {}
	}, [
		new mollify.plugin.CommentPlugin()
	]
});

For more info, see file list column customization.

Clone this wiki locally