You can find the various mailing lists and support forums on SourceForge.net.  Search for “Webmin” and you will find not only the Webmin support community, but other Webmin modules that may interest you.

 

As to you specific requirement, I always look through the Webmin modules until I find the feature I am looking for.  So you should find a module that has the type of progress bar you are looking for.  Then, you will need to look at the page source to find the subroutines being called.

 

Remember, within a module (which nearly always sits in its own directory off of the Webmin base directory (e.g., /opt/webmin), will be the index.cgi file.  This is where everything starts.  As I stated before, you will then have to trace through the code to the subroutines you need.

 

Jamie built the subroutines in the various APIs in a manner that allows you to call them directly with the correct parameters.  You must also reference them with “require” or “use” commands.  As always, look to the existing code for examples of how others have done what you are doing.

 

If you cannot find the progress bar functionality you are looking for within Webmin, there is no reason you can’t get it elsewhere.  For example, if you find a JavaScript progress bar that you like, then you can embed that code within your page, pretty much as it exists on the page where you found it.  However, you will need to get the underlying framework that supports it (e.g., JQuery, Dojo, etc.) and install it on your server.  You will then need to modify the references in the <script> tags to point to the library.

 

If you have identified a specific progress bar you like, tell me where it is and I’ll see what I can do to help you.

 

Michael Peoples (mp4783)

Senior Systems Manager

AT&T - ATTSI

Office/Cell:  614-886-0923

mpeoples@att.com

 

This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited."

 

From: Agnello George [mailto:agnello.dsouza@gmail.com]
Sent: Monday, November 14, 2011 9:27 AM
To: Webmin development list
Subject: Re: [webmin-devel] New joinee to webmin-dev

 

Thanks a lot Michael  for the  for all the tips ,  i am basically a systems engineer  and know a little of perl scripting ...

One specific query i am searching today is , how to use a progress-bar while uploading  uploading .. i use template ::Toolkit.

Second is what are the   other maillinglist for webmin

Agnello

On Mon, Nov 14, 2011 at 7:43 PM, PEOPLES, MICHAEL P <mp4783@att.com> wrote:

Welcome, Agnello.

 

This list is not very active, in my experience, so you might also consider joining some other Webmin related lists also.

 

I am in a somewhat similar situation to you, but I’ve been working with the Webmin code for about a year.  My Perl experience is still rather limited.

 

What you will find is that Webmin is a superb example of tight, efficient coding.  Jamie Cameron, I grovel before his magnificence, has created a system that allows you to abstract most common administrative functions into a common, user-friendly interface.  Webmin provides an “ecosystem” from which you can build additional modules to meet your specific needs.

 

That said, it will take you some time to figure out how it all goes together.  Because Webmin code is based up on the use of subroutines contained within a few major API files (e.g., Webmin.cor, ui-lib.pl, etc.), you have to follow references through multiple files to understand the structure of a particular module.

 

The best way to understand this would be to first read the documentation.  This will take time, and there is no real “programming” book for Webmin.  You should work through the module creation example and examine the API libraries.  What you will find is, there are pre-built subroutines and variables for nearly all required graphical elements and most “housekeeping” functions (e.g., figuring out who the logged in user is).

 

I would also look at a simple module and breakdown its structure and program control flow.  If you don’t already use Firefox and Firebug, I would suggest trying them.

 

If you have specific questions, I’ll try to help you, as others have helped me, with my own limited knowledge.

 

Michael Peoples (mp4783)

Senior Systems Manager

AT&T - ATTSI

Office/Cell:  614-886-0923

mpeoples@att.com

 

This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited."

 

From: Agnello George [mailto:agnello.dsouza@gmail.com]
Sent: Saturday, November 12, 2011 3:38 PM
To: webadmin-devel@lists.sourceforge.net
Subject: [webmin-devel] New joinee to webmin-dev

 

Hi

I am a new joinee to webmin-dev, i have written a few perl cgi programs and consider my self a learner in perl programming,   my main reason for joining this list is to to understand the framework in which the webmin is written and to improve my perl programming skills by referring to already existing well written code. I would love to contribute  but i would have to come up to speed for that and that might take some time . Thought this is nice way to introduce my self,  its a honor to be in this list .

Thank you

  

--
Regards
Agnello D'souza


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
-
Forwarded by the Webmin development list at webmin-devel@webmin.com
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel




--
Regards
Agnello D'souza