I was looking for something that appeared to do exactly what you’ve created. I’ve upgraded my site to MODX 3 and installed the extra via Package Management. Unfortunately it wouldn’t completely install and in the extras panel showed as Not Installed.
Problem was that my resource tree suddenly disappeared.
I removed the extra completely via the Package manager and even purged it but the issue still persists.
If I click on the Extra menu the GoodNews.desc icon comes still and the GoodNews directory is still in the Components directory even though it was supposed to be deleted.
The error I get is:
(ERROR @ /home/cyadmin/public_html/core/components/goodnews/model/goodnews/goodnewsresourcecontainer.class.php : 27) PHP warning: require_once(/home/cyadmin/public_html/core/model/modx/modprocessor.class.php): failed to open stream: No such file or directory
/home/cyadmin/public_html/core/components/goodnews/model/goodnews/goodnewsresourcecontainer.class.php exists but there is no such file as modprocessor.class.php in the core/model directory.
So I’m thinking that maybe in MODX 3 the modprocessor.class.php file has been moved/removed which could be the issue.
Any ideas? I’d like my Resource tree back