From: Jamie C. <jca...@we...> - 2003-05-25 23:25:26
|
For a few versions now, webmin has used the cache file /etc/webmin/module.infos.cache to store details of all installed modules. If you add one manually (by just creating a subdirectory) or change its module.info file, this cache will not be automatically refreshed and so your module won't appear properly. The solution is to just delete that module.infos.cache file after you make any of these changes, and it will be re-generated automatically. Of course, this is not needed when installing a module from a .wbm file, because the cache gets automatically flushed. Only module developers will run into this problem .. - Jamie konan wrote: > Hi Everybody! > I hope you'll find some time to read this letter. > I'm writing a web interface for wget-command. > The problem is that i can;t insert my module into Webmin in the > ordinary way. > > I have module.info containing: > name=webget > category=system or webmin (no effect) > depends=1.070 > version=1.070 > desc=some desc > > and also images/icon.gif > > i also edited /etc/webmin/webmin.acl - added there my module name in > order to access it > > After all of that - I couldnt find my icon at any tab. > So how did i solve that problem: > in webmin-1.070/ > at > ... > webget > 1) mv at at2 > 2) mv webget at > > Then refresh Webmin - and my Icon Appears!!!! > then > 1) mv at webget > 2) mv at2 at > And my icon is still on tab under webmin category > But NOTICE THAT: > when i change category from webmin to system for inst. > icon.gif is left at Webmin category anyway - what't the bug??? > It just says that module.info is not read for the second time!!! > > Thank you for your answer in advance!!! |