I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

WordMine plugin for WordPress

Features

  1. Implements single sign-on based on Redmine user accounts.
    Makes WordPress use Redmine session cookies for authorization and makes it able to authenticate against Redmine user passwords.
  2. Replaces login and logout links with Redmine’s ones.
  3. Adds the “Project” taxonomy.
  4. Automatically synchronizes project taxonomy terms with Redmine projects, for which the “Blog” module is enabled.
  5. Adds the project template, which imitates a Redmine project page.
    With this template posts belonging to the “Project” taxonomy and the “Project” taxonomy index pages are rendered as they were parts of the Redmine “Blog” project module.
  6. Loads the actual project menu from Redmine using JS.
  7. Adds Redmine/WordPress cross-system links to search pages and user profiles.

Configuration

  • Take database access credentials from config/database.yml.
    Or from /etc/redmine/default/database.yml on Debian/Ubuntu, where default is the instance identifier.
  • Take session cookie key and secret from config/session.yml.
    Or from /etc/redmine/default/session.yml on Debian/Ubuntu, where default is the instance identifier.

Settings of the plugin

  • Now create menus for each menu location – “Top Menu”, “Account Menu” and “Main Menu” (I used the same names for menus).
    Without this step menus won't work correctly -- i.e., Redmine/WordPress tabs won't be added, the account menu will contain the "Sample page" beneath, and so on.
    • It’s fine to have the “Account Menu” empty as the plugin automatically generates items (“My account”, “Sign out” etc) for it.
      The menu, actually, allows you to add custom items.
    • It’s also fine to have the “Main Menu” empty, while I recommend to add your categories or other items there.
    • But you need to replicate the “Top Menu” manually, as follows:
      In the case the "Top Menu" is not empty, WordMine will automatically add the Administration meny item. If you'll use the same English names for these items, WordMine will also automatically translate them.
      Home http://wordpress.example.com Recommended as Redmine always contains this item
      Blog Use the page created for the global_blog RedPress’ option Recommended, if you use the global_blog option
      Projects http://redmine.example.com/projects Recommended as as Redmine always contains this item
      Help http://codex.wordpress.org/Main_Page Recommended as as Redmine always contains this item
  • After all these steps I personally prefer to disable the WordPress toolbar, when viewing the site. This can be done in Users → Your Profile.
  • Don’t forget to configure sidebars.

logo.png - A funny logo for the plugin (5.09 KB) Andriy Lesyuk, 28 Apr 2013 13:04

New-admin-menu.png - New item in Administration (6.47 KB) Andriy Lesyuk, 03 Oct 2013 00:16

New-Users-menu-item.png - New item in Users menu (6.57 KB) Andriy Lesyuk, 03 Oct 2013 00:32

WordMine-settings.png - Settings of the plugin (56.7 KB) Andriy Lesyuk, 03 Oct 2013 00:36

Projects-taxonomy.png - New Projects taxonomy (11.4 KB) Andriy Lesyuk, 03 Oct 2013 08:18

Terms of use | Privacy policy