Example: priority field setting when creating bugs
- 2022-12-21 13:14:58
- Kelsea
- 973
- Last edited by Hongyan on 2023-01-05 11:11:17
- Share links
The example in this article is for showing how to use the extension mechanism of ZenTao to make various customizations to ZenTao without worrying about being overwritten after subsequent upgrades.
Goal: When creating a bug, you can set the priority field directly.
1. Create directory
1.1 Create the directory ext/view under module/bug/.
1.2 Copy "module/bug/view/create.html.php" to the directory ext/view/, still with create.html.php
1.3 Change "ext/view/create.html.php".
2. Change the program
After copying the template over, you need to change the header file and footer file include paths. Then you can change the template file and add the bug priority field in the appropriate place.
Then visit the bug creation page and you will find the priority field.
Write a Comment
Support
- Book a Demo
- Tech Forum
- GitHub
- SourceForge
About Us
- Company
- Privacy Policy
- Term of Use
- Blogs
- Partners
Contact Us
- Leave a Message
- Email Us: support@zentaoalm.com