I've tried it identically, same function name but with my own module as prefix, and a couple other variations but it will only run alongside, not override. In some cases what I've been able to do is use the same function name, but only add the parts that I added, which is okay for some functions as I'm only tacking on functionality, not replacing it, but for others, it may cause some issues. I feel like there's some easy piece I'm missing for this to work. I went ahead and added what I have so far to the OP, with the parts that I haven't gotten to still commented out.
Thread Rating:
Need help overriding/hooking main module functions..
|
|
Users browsing this thread: 1 Guest(s)