Skip to content

Save templates in this new interface improving consistency and content formatting of your project data. Project Editors can create, update and delete templates for each project. Templates can be created for task descriptions, comments, global templates and email subjects all in one place.

License

Notifications You must be signed in to change notification settings

salazarjoelo/TemplateManager

 
 

Repository files navigation

TemplateManager

Plugin for Kanboard

Predefined Contents is replaced by the Template Manager. Improve consistency of your project data and save time for repetitive comments using saved templates. Project Editors can create, update and delete templates for each project including adding notes and instructions separate to the template content to help keep content neat.

Templates can be created for task descriptions (core feature), comments (new feature), global templates (new feature) and email subjects (core feature) all in one place. The global templates feature shows for every project and can be used as a way to guide and advise users within tasks. Templates can also be useful in environments where auditing is required.

Features

  • Improved and extended the layout, modal and form designs for the predefined contents section
  • Renamed the predefined contents section to Template Manager
  • Show the total template count in the project dropdown menu directly linking to the Template Manager
  • Show individual counts for each template section
  • Compatibility with ApplicationBranding
    • Total number of templates are shown in the Admin Dashboard
  • Add pretty URLs (if globally configured)
    • https://mydomain.com/project/[project_id]/templates
      • Links to the relevant project's Template Manager section
    • https://mydomain.com/global-templates
      • Links to the Global Templates section
    • Tasks:
      • https://mydomain.com/project/[project_id]/templates/tasks/add
      • https://mydomain.com/project/[project_id]/templates/tasks/view/[template_id]
      • https://mydomain.com/project/[project_id]/templates/tasks/edit/[template_id]
      • https://mydomain.com/project/[project_id]/templates/tasks/delete/[template_id]
    • Comments:
      • https://mydomain.com/project/[project_id]/templates/comments/add
      • https://mydomain.com/project/[project_id]/templates/comments/view/[template_id]
      • https://mydomain.com/project/[project_id]/templates/comments/edit/[template_id]
      • https://mydomain.com/project/[project_id]/templates/comments/delete/[template_id]
    • Global Templates:
      • https://mydomain.com/global-templates/add
      • https://mydomain.com/global-templates/view/[template_id]
      • https://mydomain.com/global-templates/edit/[template_id]
      • https://mydomain.com/global-templates/delete/[template_id]
  • Revised Email Subject Templates
    • Added user instructions related to tasks and automatic actions
  • Template Previews - Preview just the template without the instructions
  • Topics - Label common templates into topics to help group them together
  • Notes - Add a short note to describe each template (notes appear as tooltips)
  • Instructions - Add optional instructions for each template (instructions show in view mode only)
  • This plugin replicates and extends the features from TemplateTitle. It is safe to uninstall TemplateTitle after installing TemplateManager
  • All data is saved in the database

Task Description Templates

  • Revised predefined contents as Task Description Templates
  • Automatically populate the title of the template into the task title when creating or modifying tasks - imported TemplateTitle feature
  • Show the template notes to end users in a tooltip when selecting the task description

NEW Comment Templates

  • Add, update or delete templates for your regular comments which can be used repetitively in any task
  • Templates utilise the Markdown Editor to enable complete formatting of comments
  • Automatically populate the comment template to the text editor when creating comments

NEW Global Templates

  • Show generic templates common to your personal or organisational workflow (to your end users)
  • Inside tasks, global templates are shown under a new General Templates & Actions accordion section
  • These templates are visible to all user roles and are not restricted by project
  • Can be disabled through Settings

Task Comments

  • Show total number of comments created
  • Saved comment templates can be quickly copied from each task
  • Global templates are shown in each task above the comments section
  • Shows the template notes to end users in a tooltip

Revised Project Sidebar

  • Replaced the default code to extend the functionality of the project sidebar menu
    • Moved the core hook 'template:project:sidebar'
      • Now shows before the Close Project menu link to show content to all users
    • Changed the sort order of the sidebar menu for faster access to project configuration sections
  • Add a new hook 'template:project:sidebar:top'
    • Displays after the Summary menu link to show content to all users_
  • Add a new hook 'template:project:sidebar:bottom'
    • Displays after the Delete Project menu link to show content to all users_

Screenshots

Template Manager - Interface

Template Manager

Template Manager - Settings

Template Manager

Template Manager

Task Description Templates - Frontend

Template Manager

Comment Templates - Frontend

Template Manager

Global Templates - Frontend

Template Manager

Comment Templates - View

Template Manager

Task Description Templates - Create

Template Manager

Global Templates - Edit

Template Manager

Comment Templates - Delete

Template Manager

Usage

  • Go to Settings ⥂ About
  • Go to SettingsApplication ⥂ Template Manager
    • To manage settings
  • Go to any ProjectProject Settings ⥂ Template Manager
    • To manage your templates
  • Go to any ProjectTask ⥂ Create Task
    • To use your task description templates
  • Go to any ProjectTask ⥂ Add Comment
    • To use your comment templates
  • Go to SettingsGlobal Templates
    • To manage your global templates
  • Go to any Task ⥂ General Templates & Actions
    • To use your global templates

Compatibility

Other Plugins & Action Plugins

Core Files & Templates

  • 04 Template overrides
  • Database Changes:
    • 01 New database table created as comment_templates
    • 01 New database table created as global_templates
    • 03 New columns added to the predefined_task_descriptions table as topic note instructions

Changelog

Read the full Changelog

Installation

  • Install via the Kanboard Plugin Directory
    • Go to:
      • Kanboard: PluginsPlugin Directory
    • or with PluginManager installed:
      • Kanboard: SettingsPluginsPlugin Directory

or

  • Install via the Releases folder
    • A copy of each release is saved in the /Releases folder of the repository
    • Simply extract the .zip file into the /plugins directory

or

  • Install via GitHub
    • Download the .zip file and decompress everything under the directory /plugins
    • The folder inside the .zip must not contain any branch names and must be exact case (matching the plugin name)

Note: The /plugins folder is case-sensitive.

or

  • Install using Git CLI
    • git clone (or ftp upload) and extract the .zip file into this folder: .\plugins\ (must be exact case)

Translations

  • Contributors welcome
  • Starter template available

Authors & Contributors

License

About

Save templates in this new interface improving consistency and content formatting of your project data. Project Editors can create, update and delete templates for each project. Templates can be created for task descriptions, comments, global templates and email subjects all in one place.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 84.2%
  • CSS 14.4%
  • JavaScript 1.4%