batch create Tags?
Moderators: Developer, Contributor
-
- Posts: 113
- Joined: 05 Jun 2019, 00:17
batch create Tags?
as title said, want to find a way to create hundreds of tags
Re: batch create Tags?
You could do an upload using mysql tool
-
- Posts: 113
- Joined: 05 Jun 2019, 00:17
Re: batch create Tags?
Would you please tell me how to handle that?
Re: batch create Tags?
easiest way is to create an SQL file ( for example called tags.sql ).
In that text file, you create a line for every Tag you need like this:
INSERT INTO `mantis_tag_table` ( `user_id`, `name`, `description`, `date_created`, `date_updated`) VALUES ( 1, 'Name', 'Description', now(), now());
The bold parts you can fill up. Only the "Name" is mandatory.
Once done you launch for example something like phpmyadmin on your server, navigate to the mantis database and run the sql script you just made.
(Google can help a lot here).
That's all
In that text file, you create a line for every Tag you need like this:
INSERT INTO `mantis_tag_table` ( `user_id`, `name`, `description`, `date_created`, `date_updated`) VALUES ( 1, 'Name', 'Description', now(), now());
The bold parts you can fill up. Only the "Name" is mandatory.
Once done you launch for example something like phpmyadmin on your server, navigate to the mantis database and run the sql script you just made.
(Google can help a lot here).
That's all
-
- Posts: 113
- Joined: 05 Jun 2019, 00:17
Re: batch create Tags?
How to increase words limits for that text field?
Re: batch create Tags?
max size is 100 according databas.
You can change line 211 in manage_tags_page.php to read like:
You can change line 211 in manage_tags_page.php to read like:
Code: Select all
<input type="text" id="tag-name" name="name" class="input-sm" size="100" maxlength="100" required />