From: Joe C. <jo...@sw...> - 2002-02-23 08:17:01
|
Wil Cooley wrote: > Also Sprach Joe Cooper <jo...@sw...> on Fri, Feb 22, 2002 at 11:55:16PM PST > >>Wil Cooley wrote: >> >> >>>Also Sprach Joe Cooper <jo...@sw...> on Fri, Feb 22, 2002 at 09:52:33PM PST >>> >>> >>>>Remove, disable, or move to another category all of the modules in the >>>>category you'd like to get rid of. The list is dynamically generated >>>>based on what the modules you have want to be a part of (this is >>>>configured in the module.info file). >>>> >>>> >>>Are you sure about that? I seem to recall when I started writing >>>a test module in a "Test" category, but it ended up in the "Others" >>>category. Yeah, I looked at it and that's what happens. >>> >>Nope. You're wrong. ;-) >> >>Actually, I didn't explain the situation fully because he wants to >>remove a category, not add one. To add a category you've got to add >>information to the language files. Edit your lang/en file in the Webmin >>root directory to include your creatively named Test category, like so: >> >>category_test=Test >> >>You're done. So, yep, I'm sure about what I said (the category tabs are >>generated based on what categories the modules available want to be >>in--I just left out the bit about that category having to be configured >>elsewhere). >> > > Ah, that explains why my test module always ended up in the > "Others" category. Thanks. You're welcome, Wil. I should confess I had to do a little grepping on the Webmin directory to figure out exactly how Jamie was handling categories to prove myself unwrong. ;-) I was hoping your Mencken sig wasn't true of my answer "simple, neat and wrong." -- Joe Cooper <jo...@sw...> http://www.swelltech.com Web Caching Appliances and Support |