-
☆ A M B ☆
- 2,475 Posts
Been working with MyComponent again... wondering what the correct way to add a call to addExtensionPackage would be... that's something that needs to fire when the package is installed. I see some notes in the config file re the user.input.php, but I'm unsure if that's the right place or how to call it if it is.
Thanks for any pointers!
LOL. I think you may have written this:
addExtensionPackage and removeExtensionPackage are very useful methods to add to a Resolver if you're building an Extra
http://rtfm.modx.com/display/revolution20/Creating+a+Resource+Class
It would go in the default resolver: yourcomponent.resolver.php
-
☆ A M B ☆
- 2,475 Posts
Ah, now that's just my style -- touching something and forgetting all about it. Yes, I think I did clean up the wording on that page, but putting that function into practice inside a build script was something that was not clear to me. Thanks for the pointer.
It happens to me all the time.