Creating and editing a file
In this section
This form serves to create and edit files. To create a new file, click New file in the Site Explorer, or click
on the administration toolbar in the site public section. A new file/page is created in the folder currently opened in the Site Explorer. By creating a new file, you
add a new page to the current section of the site.
To open an existing file for editing, click this file in the Site Explorer, or click
in the administration toolbar.
Context bar
Button |
Description |
View file |
Displays the file source code. The button is displayed when editing an existing document. |
Edit as PHP |
Edits the file source code. This mode is for use by developers only. |
Edit as HTML |
Edits the document in the integrated visual HTML editor whose user interface is similar to that of
Microsoft Word. |
Edit as text |
Displays the file text as is without PHP code. However, HTML tags are displayed in this mode. |
Rename |
Opens a form in which you can provide a
new file name. The button is displayed when editing an existing document. |
Download file |
Downloads the selected file to your local machine. The button is displayed when editing an existing document. |
Form fields
Field |
Description |
Template |
The template that will be used to create the page. For example: Standard page, Page include area or Section include area. The
field is displayed when creating a new file. |
File name |
The file name including extension, for example, news.php. The
field is displayed when creating a new file. |
Page title |
An arbitrary page title. The specified title will be displayed in the page body. The field is displayed in the Edit
as HTML or Edit as text mode. |
Page properties |
This section is used for customising and editing the page property values and for managing the META tags, such as page keywords
and description. The section is displayed in the Edit as HTML or Edit as text mode.
Field |
Description |
Code |
The property name. |
Value |
Specifies the property value. |
Note!
You can define properties in the Site Explorer module settings. An empty form field
can be used to create a property, whose value will be used only with the current page. In this case, the Code field
should contain the property mnemonic name. The property code is specified with the Roman letters only.
See also: Folder properties.
|
Control buttons
Button |
Description |
Save |
Saves the current page. |
Apply |
Saves the page properties. Editing continues. |
Cancel |
Cancels current changes. |
Example of creating a file
- Click New file in the Site Explorer. The default editor specified in the Site Explorer
module settings will be opened.
- Select the template that will be used to create a page.
- Specify the file name (e.g. company.php).
- Click Save to add the new file to a current folder. Click Apply to save the file in a current folder and continue editing.