Top half:
LGS Webedit controls

  Bottom half:
FCKeditor controls

Basic Layout

The LGS Webedit controls are located above the FCKeditor controls.  LGS Webedit controls deal with opening, saving, deleting and renaming files, the setting of web file attributes (such as the page title), and setting the "Header" and "Footer" files.

The FCKeditor controls (mostly icons) are located below the LGS Webedit controls, on a colored background.  They control the creation of html. For more information, see the FCKeditor user's guide.

Opening Files

Click in the "or choose:" field next to the "Open" button above to select a file to open.  Your selection fills in the "Filename" field.  You can also type a name into this field, which you must do to save a new file or to save under a different name.  Then, click "Open" to open the file. Backup files are created when files are saved.  Filenames of backup files end in '~'.

Saving Files

You can save the content of the editor to any filename.  Simply enter new filename in the "Filename" field, and click "Save."

Creating a New File

To create a new html file, you use the newPage button.  All editor content is instantly erased, so be sure you have saved anything you want to keep.

To create a new plain text file, choose "New textmode page" in the "Open file" pulldown, and click "Open."

Deleting/Renaming Files

When a file has been opened with the "Open" button, it can be deleted by checking the "Delete <filename>" checkbox, and clicking "Save".  If you also type a new name in the "Filename" field, the file will be renamed.

Html File Attributes

The editor allows you to set a file's title, as well as whether or not a file should be saved as XHTML.  Choose XHTML unless you are using obsolete practices, such as the use of tables to position content.  The CSS file is set in the configuration file that starts the editor, and can only be changed in that configuration file.

Header and Footer Files

The editor also allows you to specify a "Header" and "Footer" file. These are shared content files.  The content of these files is automatically inserted into the current html file by the server, at the beginning (header file) or at the end (footer file) of your page.  This is done dynamically, at the time the page is requested by the browser.  

This is an excellent way to share a common menu sidebar, menu topbar, site banner, or footer.  When the content of a shared content file is updated, all the files in the website that use the shared content files are instantly updated!

LGS Webedit automatically inserts and updates the SSI directives necessary for this to work.  All you have to do is create the "Header" and "Footer" files and select them for your pages from the "Header file" and "Footer file" pulldown selections.  More information.

Editing and Creating Plain Text Files

LGS Webedit can edit and create plain text files as well as html files.  Plain text file you might like to edit include the site's css file, any scripts (e.g php or perl), and your site's robots.txt file).  When editing a plain text file, the FCKeditor html editor backend is not used.

To create a new plain text file, choose "New textmode page" in the "Open file" pulldown, and click "Open."


Each javascript statement and each javascript comment line in files edited by LGS Webedit must end in semicolon (;).  In addition, when html comments (<!-- -->) are used to surround javascript from old browsers, the beginning html comment should also end in semicolon:

<script> <!--;
// this is a coment;
var example=1;
// --> </script>

For more help, please try the demo.


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br> <img> <alt> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.

More information about formatting options

This question is to prevent automated spam submissions.
      _   _      __        __  _   ____    _____ 
__| | | |__ \ \ / / | | | __ ) |___ |
/ _` | | '_ \ \ \ /\ / / | | | _ \ / /
| (_| | | | | | \ V V / | | | |_) | / /
\__,_| |_| |_| \_/\_/ |_| |____/ /_/
Enter the code depicted in ASCII art style.