Page 1 of 1

Link to "How to Report" information

Posted: 23 Jul 2024, 09:46
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

Re: Link to "How to Report" information

Posted: 23 Jul 2024, 14:56
by cas
absolutely, simply create a little plugin to show that link on that page. :mrgreen:

Re: Link to "How to Report" information

Posted: 23 Jul 2024, 16:00
by derick
"simply create a ... plugin". How is that "simple"? And I wouldn't even have the faintest clue where to start here.

Re: Link to "How to Report" information

Posted: 24 Jul 2024, 12:10
by cas
Post a picture on how this link is shown and I will see if i can pull something together :mrgreen:

Re: Link to "How to Report" information

Posted: 24 Jul 2024, 12:49
by cas
here is a very basic plugin for you, let us know if it fits your requirements :mrgreen:

Re: Link to "How to Report" information

Posted: 24 Jul 2024, 17:24
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

Re: Link to "How to Report" information

Posted: 25 Jul 2024, 14:12
by cas
Looks cool but I would open the link in a new tab :D