Julien Chaumond Posted July 11, 2011 Share Posted July 11, 2011 When creating a module, what does need_instance mean?Cheers,Julien Link to comment Share on other sites More sharing options...
Julien Chaumond Posted July 11, 2011 Author Share Posted July 11, 2011 Ok, I found the answer to this question here: http://www.nethercottconstructions.com/en/content/44-adding-the-config-xml-fileThe need_instance variable is used to indicate whether an instance of the module needs to be created when the Modules tab is loaded. If the value is 0, then the module will not be loaded, which will save time and memory. If the value is 1, then the module will be loaded. If your module may need to display a warning message on the Modules tab, then you should choose the value 1. Otherwise, choose 0 to save time and memory.Thank you Nethercott Constructions ! 7 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now