From: Jamie C. <jca...@we...> - 2006-07-11 23:23:34
|
If you want to override the text for a module, the best method is to create the file<br /><br />/etc/usermin/clonedmoules/custom-lang<br /><br />containing the same <span style=3D"font-style: italic;">message=3DEnglish text</span> lines as in the real lang/en file.<br />You don't have to copy all of the original lang/en to this custom-lang file, just the lines you want to override.<br /><br />=A0- Jamie<br /><br />On 11/Jul/2006 16:13 Dave . wrote .. <blockquote type=3D"cite"> <div><div class=3D"RTE"> <p>Opps, I was doing that under the Webmin Configuration. Ok, so that works now but I still have one more problem. I am trying to change the en file in /usr/libexec/clonedmodule/lang but when I change any thing in it the changes appear in the original module from which the clone was made as well. I am guessing there is some kind of symlink going on here. How do I make the cloned module read it's own lang file instead of the one from the original module?<br /><br /></p></div> <div></div> <blockquote style=3D"border-left: 2px solid rgb(160, 198, 229); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"> </font><hr size=3D"1" color=3D"#a0c6e5" /> <div></div><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">From:=A0=A0<i>"Jamie Cameron" <jca...@we...></i><br />Reply-To:=A0=A0<i>Webmin users list <web...@li...></i><br />To:=A0=A0<i>Webmin users list <web...@li...></i><br />Subject:=A0=A0<i>Re: [webmin-l] Changing module title</i><br />Date:=A0=A0<i>Mon, 10 Jul 2006 21:33:29 -0700 (PDT)</i><br />MIME-Version:=A0=A0<i>1.0</i><br />X-Originating-IP:=A0=A0<i>67.170.236.170</i><br />Received:=A0=A0<i>from lists-outbound.sourceforge.net ([66.35.250.225]) by bay0-mc10-f2.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 10 Jul 2006 21:33:55 -0700</i><br />Received:=A0=A0<i>from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 9B3D312291; Mon, 10 Jul 2006 21:33:45 -0700 (PDT)</i><br />Received:=A0=A0<i>from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91]helo=3Dmail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43)id 1G09wK-0006qy-GEfor web...@li...; Mon, 10 Jul 2006 21:33:43 -0700</i><br />Received:=A0=A0<i>from e2.4.5646.static.theplanet.com ([70.86.4.226]helo=3Dee.4.5646.static.theplanet.com)by mail.sourceforge.net with esmtp (Exim 4.44) id 1G09wK-0001gO-0rfor web...@li...; Mon, 10 Jul 2006 21:33:40 -0700</i><br />Received:=A0=A0<i>by ee.4.5646.static.theplanet.com (Postfix, from userid 517)id 6E051290DB8; Mon, 10 Jul 2006 23:33:29 -0500 (CDT)</i><br /> </font><div></div><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><br />That's odd, it works OK for me..<br />Are you creating the clone using the Usermin Modules page?<br /><br />=A0- Jamie<br /><br />On 10/Jul/2006 20:31 Dave . wrote .. </font><div></div> <blockquote> <div></div> <div> <div class=3D"RTE"></div> <p><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">Thanks, I just place the folder name of the module and its new title in there and it works great now.</font></p></div> <p><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"> </font></p> <div></div> <p><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">Any help with the clone module problem. The cloned modules aren't showing up on my Avaliable Modules list for usermin.<br /><br /></font></p> <div></div> <div></div> <div></div> <div></div> <blockquote style=3D"padding-left: 5px; margin-left: 5px; margin-right: 0px;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"> </font> </font><hr size=3D"1" color=3D"#a0c6e5" /> <div></div> <div></div> <div></div><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">From:=A0=A0<i>"Jamie Cameron" <jca...@we...></i><br />Reply-To:=A0=A0<i>Webmin users list <web...@li...></i><br />To:=A0=A0<i>Webmin users list <web...@li...></i><br />Subject:=A0=A0<i>Re: [webmin-l] Changing module title</i><br />Date:=A0=A0<i>Mon, 10 Jul 2006 20:18:39 -0700 (PDT)</i><br />MIME-Version:=A0=A0<i>1.0</i><br />X-Originating-IP:=A0=A0<i>70.86.4.226</i><br />Received:=A0=A0<i>from lists-outbound.sourceforge.net ([66.35.250.225]) by bay0-mc11-f16.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 10 Jul 2006 20:19:02 -0700</i><br />Received:=A0=A0<i>from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 9B1F112499; Mon, 10 Jul 2006 20:18:52 -0700 (PDT)</i><br />Received:=A0=A0<i >from <div></div>sc8-sf-mx1-b.sourceforge.net ([10.3.1.91]helo=3Dmail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43)id 1G08lu-0000m3-ULfor web...@li...; Mon, 10 Jul 2006 20:18:50 -0700</i><br />Received:=A0=A0<i>from e2.4.5646.static.theplanet.com ([70.86.4.226]helo=3Dee.4.5646.static.theplanet.com)by mail.sourceforge.net with esmtp (Exim 4.44) id 1G08lt-0000SG-LNfor web...@li...; Mon, 10 Jul 2006 20:18:50 -0700</i><br />Received:=A0=A0<i>by ee.4.5646.static.theplanet.com (Postfix, from userid 517)id 9FE1C290DC1; Mon, 10 Jul 2006 22:18:39 -0500 (CDT)</i><br /> <div></div></font> </font><div></div><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><br /> <div></div></font> </font><div></div><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">On 10/Jul/2006 19:11 Dave . wrote .. <div></div></font> </font><div></div> <div></div> <blockquote> <div></div> <div></div> <div></div> <div></div> <div class=3D"RTE"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">I am running redhat 9 and want to change the title of a module as it appears on the first login page in Usermin.=A0 I have messed around with almost every file in /usr/libexec/usermin to get this to work.</font></font></div> <div></div> <div></div> <div class=3D"RTE"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"></font>=A0</font></div> <div></div> <div></div> <div></div> <div class=3D"RTE"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">I want to change the title of the File Manager on it's Icon which is Displayed at first Login, how would I go about doing this? I have looked for references for the File Manager word in the lang/en file and have only successfully changed the title of the file manager page, not the icon title.</font></font></div> <div></div> <div></div> <div></div> <div class=3D"RTE"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"></font>=A0</font></div> <div></div> <div></div> <div></div> <div class=3D"RTE"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">Any Help appreciated. </font></font></div> <div></div> <div></div> <div></div> <div class=3D"RTE"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"></font>=A0</font></div> <div></div> <div></div> <div></div> <div class=3D"RTE"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">Also, I have noticed that cloned modules do not show up in the list of modules to make avaliable for usermin. Any idea on that?</font></font></div> <div></div> <div></div></blockquote><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">There is a way to do this, although unfortunately there is no user-friendly UI for it yet.<br />To assign a custom title to the file manager module, you need to create the file /etc/usermin/webmin.descs containing the text :<br /><br /><span style=3D"font-family: courier new,courier,monospace;">file=3DYour Module Title</span><br /><br />and then delete the file <span style=3D"font-family: courier new,courier,monospace;">/etc/usermin/module.infos.cache</span> . When you refresh the module list page in Usermin, the new title should appear.<br /><br />=A0- Jamie<br /><br /> <div></div></font> </font><div></div> <div></div> <div></div><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><br /> <div></div></font> </font><p><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">><br />>-------------------------------------------------------------------------<br />>Using Tomcat but need to do more? Need to support web services, security?<br />>Get stuff done quickly with pre-integrated technology to make your job easier<br />>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br />>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642<br /> <div></div></font> </font></p><p /> <p><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">>-<br />>Forwarded by the Webmin mailing list at web...@li...<br />>To remove yourself from this list, go to<br />>http://lists.sourceforge.net/lists/listinfo/webadmin-list<br /> <div></div></font> </font></p><p /> <p /></blockquote> <div></div></blockquote><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><br /> </font><div></div> <div></div><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;"><br /> </font><p><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">><br />>-------------------------------------------------------------------------<br />>Using Tomcat but need to do more? Need to support web services, security?<br />>Get stuff done quickly with pre-integrated technology to make your job easier<br />>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo<br />>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642<br /> </font></p><p><font style=3D"font-size: 11px; font-family: tahoma,sans-serif;">>-<br />>Forwarded by the Webmin mailing list at web...@li...<br />>To remove yourself from this list, go to<br />>http://lists.sourceforge.net/lists/listinfo/webadmin-list<br /> </font></p><p /></blockquote></div></blockquote><br /> |