Create Tag by adding #

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Create Tag by adding #

Post by NandoNaldo »

Is there any chance to create tags automatically writing into the notes by adding # ?

For the moment, there is a field called: Attach Tags and than you click ATTACH after creating dhe TAG. I want to create the TAG by writng and adding # before the word

Thank You
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Create Tag by adding #

Post by atrol »

First of all you would have to change the following setting as it would conflict with your request

Code: Select all

/**
 * Bug Linking
 * if a number follows this tag it will create a link to a bug.
 * eg. for # a link would be #45
 * eg. for bug: a link would be bug:98
 * @global string $g_bug_link_tag
 */
$g_bug_link_tag = '#';
After that there are similar changes needed to what we have implemented for @mentions
https://www.mantisbt.org/bugs/view.php?id=20837
https://github.com/mantisbt/mantisbt/co ... a0d7593b16
Please use Search before posting and read the Manual
NandoNaldo
Posts: 122
Joined: 09 Mar 2016, 21:44

Re: Create Tag by adding #

Post by NandoNaldo »

@ mentions is the new feature included in the mantis 1.3.0 version ?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Create Tag by adding #

Post by atrol »

NandoNaldo wrote:@ mentions is the new feature included in the mantis 1.3.0 version ?
Right
Please use Search before posting and read the Manual
Post Reply