firts of all: thanks for the reply!
Starbuck wrote:Rather than replacing entire files, I believe you want to make use of the Event system. See chapter 5 in the docs for specific events, and chapter 4 for how to hook into them.
I did browser quickly over these chapters already before I posted. I will surely dig deeper as good as I can. My thread and my questions are mainly meant to save me time learning the wrong
things. Since this event hooking thing is something I still have to understand a bit better, I mainly wanted to ask, if it is a common plugin-thing to just replace files.
But probably you are right and the best way is to understand the event and hooking thing.
Similarly, rather than replacing CSS, the whole point of CSS is that user sheets can overload/supercede whatever comes before it. So I suggest perhaps copying whatever CSS file you want and then just changing it. Then with your plugin, use the info in chapter 4 (I believe) to insert your CSS into pages, where it should be added after others and thus override whatever is set by them.
Hopefully I will dig this as well ... if at all, haha.
... will try, for sure!
If this PHP is beyond your skills, consider a barter for services. What languages do your work with? What can you offer someone who will write some code for you? While I do a lot with PHP, my skills are not such that I would presume to offer detailed help here. But perhaps someone else (who uses Mantis or not) could be enticed by some reward to write this code for you.
Thanks for this interesting tip. My PHP skills are ... I do not even knoww. I would say "not detailed" but not "totally bloody noobish". I coded my website
on my own lately. The old site had even more interesting PHP code. The actual site could be done in HTML only, I know. Not a very good showcase for my PHP skills. But I would say that my PHP skills are ... "ok" maybe?
It's still a difference to code its own website with probably bad coding, which still works somehow and using a rather more professinal API from other people, I know. as I already wrote: my questions are mainly be meant for me to avoid learning the wrong path from the beginning, when trying to understand the MantisBT plugin API.
Still looking forward to good tips though.