MantisThemeManager icon indicating copy to clipboard operation
MantisThemeManager copied to clipboard

Updated the MantisThemeManager to support Mantis BT 2.x

Open Samunosuke opened this issue 8 years ago • 6 comments

The MantisThemeManager was/is a good approach to change the style of the mantis installation without modifying the source code of the Mantis BT. So I still think it can be useful especially when we think about how long it did take that the writers of mantis have brought a fresh look, which still lacks of a lot of potential.

Samunosuke avatar Apr 19 '17 22:04 Samunosuke

Is this working on the latest version of MantisBT?

SugarD-x avatar Dec 08 '17 02:12 SugarD-x

I made a proof of concept and it works so far - but it lacks of templates. https://github.com/Samunosuke/mantis-suke-theme I started with the first intention to just modify the css, but the writer of Mantis did often use "!important" which did prevent from simply load another css. So it is required to manipulate the DOM, e.g. via JQuery to allow templating.

Samunosuke avatar Dec 08 '17 13:12 Samunosuke

Sweet!

Do your changes to the MantisBT Theme Manager have any issues so far in the latest version of MantisBT, though? I'm considering upgrading my bug tracker and applying your fixes to the Theme Manager plugin to get my stuff back online. (I'm also watching your theme now too!)

SugarD-x avatar Dec 08 '17 18:12 SugarD-x

I could not see any issues, my changes are just focused on the visual aspects and the good thing I did not had to do any changes to Mantis. It is just a plugin which changes the style by modifying the DOM during loading of the page. The "Rockstar" Theme from Tim does not work any more because it would need a lot of changes to get it working with new Mantis 2.x versions. So I started with a minimalistic approach.

Samunosuke avatar Dec 08 '17 22:12 Samunosuke

Ah, roger. Thank you!

Too bad his theme no longer works. I was using a heavily modified version of it for my website alongside several HTML-based changes to the core files. (This should be fun updating it, sarcasm!)

I appreciate the information. Looks like I'll be using your theme this time around then!

SugarD-x avatar Dec 12 '17 14:12 SugarD-x

Just thought I'd slap in an update. I'm still fixing bugs, but I've managed to integrate my code into your theme on my Mantis installation in the latest version, and I'm liking how it turned out! Your theme manager is godly!

predivivus

SugarD-x avatar Aug 13 '18 02:08 SugarD-x