Link to "How to Report" information

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
derick
Posts: 4
Joined: 23 Jul 2024, 09:29

Link to "How to Report" information

Post by derick »

Hi,

I've been using Mantis for ages now, and every time I upgrade, I lose my modifications to `html/bug_report_page.php` to include a link to detailed instructions on how people can provide the necessary information (https://xdebug.org/reporting-bugs).

GitHub issues has a feature for this, such as PHP uses for itself: https://github.com/php/php-src/blob/mas ... ml?plain=1

Is there a way in Mantis to at least automatically add a link to my "this is how to create a bug report" page?

cheers,
Derick
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Link to "How to Report" information

Post by cas »

absolutely, simply create a little plugin to show that link on that page. :mrgreen:
derick
Posts: 4
Joined: 23 Jul 2024, 09:29

Re: Link to "How to Report" information

Post by derick »

"simply create a ... plugin". How is that "simple"? And I wouldn't even have the faintest clue where to start here.
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Link to "How to Report" information

Post by cas »

Post a picture on how this link is shown and I will see if i can pull something together :mrgreen:
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Link to "How to Report" information

Post by cas »

here is a very basic plugin for you, let us know if it fits your requirements :mrgreen:
Attachments
showit.zip
(2.17 KiB) Downloaded 323 times
derick
Posts: 4
Joined: 23 Jul 2024, 09:29

Re: Link to "How to Report" information

Post by derick »

I already managed it. I *do* like tinkering :-D
But not with the config setting editing, as I didn't realise you could do that. So I'll copy that over into my plugin, thanks!

In case you care, it's live at https://bugs.xdebug.org/bug_report_page.php
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: Link to "How to Report" information

Post by cas »

Looks cool but I would open the link in a new tab :D
Post Reply