25.4. Creating a New File Editor

To add a new button to the module's main page for editing a file, follow these steps:

1.
Click on the Create a new file editor link above or below the existing buttons. This will bring up the editor creation form shown in Figure 25.3.
Figure 25.3. Creating a new file editor.

2.
Enter a short description for the file to be edited into the Description field. Whatever text you enter will appear on the editor's button on the main page. You can also enter additional text (including HTML tags) into the larger text box below it, to be displayed underneath the button.
3.
Enter the full path of the file to be edited into ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.