Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How can I change a module without editing the core?
whu606
MVP
I would like to change the asset target in
class.categoriesmodule
found in applications/vanilla/modules
I've tried copying over the modules folder to my theme folder, and I've tried putting the edited file in about every place in my theme I can think of, to no avail.
The change works fine when I edit the original file, but obviously that isn't ideal.
Am I going about this all wrong, or just missing something obvious?
Thanks.
Tagged:
0
Comments
I'll try one gentle nudge with this, now that the working week has started...
This isn't an easy thing to do right now unfortunately. Two methods I can think of.
Since nobody has bitten - a wild guess to modify it to content in the
maybe use this event in theme hooks or a plugin.
or somebody will correct the above.
edited: While I was posting somebody had bitten.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks @Todd and @peregrine
I shall have a play with those.
@Todd
Brilliant, as always!
That first suggestion worked like a charm.
Thanks again for the help.
@Peregrine - thanks for being prepared to 'have a go'!