Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Adds a context menu to the message list.
JavaScript PHP
Branch: master

This branch is 6 commits ahead, 212 commits behind JohnDoh:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
localization
skins/default
CHANGELOG
README
contextmenu.js
contextmenu.php
jquery.contextMenu.js
jquery.mousewheel.js

README

Roundcube Webmail ContextMenu
=============================
This plugin adds a context menu to the message list. Menu links are:
mark as read
mark as unread
mark as flagged
mark as unflagged
reply
reply to all
forward
delete
print
save
show source
open in new window
move to

This plugin also adds a context menu to the folder list. Menu links are:
mark all as read
compact
empty
collapse all folders
expand all folders
open in new window

This plugin also adds a context menu to the contacts list in the address book. Menu links are:
compose message to
edit contect
delete contact
copy contact to another address book

This plugin also adds a context menu to the groups list in the address book. Menu links are:
rename
delete

Install
=======
* Place this plugin folder into plugins directory of RoundCube
* Add contextmenu to $rcmail_config['plugins'] in your RoundCube config
NB: When downloading the plugin from GitHub you will need to create a directory called contextmenu and place the files in there, ignoring the root directory in the downloaded archive

Adding other items to the menu
==============================
The command rcm_contextmenu_register_command allows other plugins to add items to the context menu.
IMPORTANT: The context menu plugin must be initialised before any other plugin which adds an item to the menu.

rcm_contextmenu_register_command(command, callback, label [, pos [, sep [, multi ]]])
 command: the name of the command eg: spam
 callback: the name of the function which should be called when the menu item is clicked
 label: the name of the label to use in the menu
 (optional) pos: class name of a existing item in the menu which the new item should be inserted before, if no pos is specified the item is added to the end
 (optional) sep: [before|after] put a separating line before or after this item
 (optional) multi: [true|false] should the item be enabled when multiple messages are selected
 (optional) addsub: [true|false] add the new item to a sub menu
 (optional) obj: the menu object to which the item should be added
Something went wrong with that request. Please try again.