From: Ron W. <rwh...@ar...> - 2016-02-17 14:53:46
|
What about the File Manager as a source of inspiration Tree display of files and lots of actions. Ron On 17/02/2016 8:31 AM, Dennis Damalie wrote: > Thank you very much, will look at that . > > > On Wednesday, February 17, 2016 1:02 PM, "PEOPLES, MICHAEL P" > <mp...@at...> wrote: > > > It has been a while since I’ve created a custom module, but I believe > you need to examine other code within Webmin that provides a similar > function. For example, the “Software Packages” module has an icon > next to the “From local file” input box. If you click this icon, you > get a file listing from which you can select a file to installation. > What you need to do is look at the underlying web page code using a > tool like Firefox’s firebug. There you will see that clicking that > icon invokes the “chooser.cgi” script. In this case I believe that is > pointing to /usr/libexec/webmin/chooser.cgi. > You should then examine how this code is used for your particular > application. > Hope this helps. > Michael Peoples (mp4783) > Global Customer Service Dev Ops > Office: +1 614-886-0923 > Mobile: +1 614-886-0923 > Principal Applications Developer > _m...@at... <mailto:mp...@at...>_ > *From:*Dennis Damalie [mailto:den...@ya...] > *Sent:* Wednesday, February 17, 2016 6:04 AM > *To:* web...@li... > *Subject:* [webmin-devel] View files(.conf,.txt etc) in webmin module > Hello All, > I am developing a custom webmin module which includes the option of > viewing files that been created within the module . > I would be grateful if I am can be pointed how I can approach this . > What I would like to know is , if there are a number of files in the > directory how can I click on a particular file for it to show its file > contents . > Thank you . > > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > > > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel -- Ron Wheeler President Artifact Software Inc email: rwh...@ar... skype: ronaldmwheeler phone: 866-970-2435, ext 102 |