How to use Microsoft FrontPage 2000 - Introduction; Creating a New Document; Opening a Document; Saving Documents; Working With PHP Documents in FrontPage
Microsoft FrontPage is an HTML editor, which is included as part of the
Microsoft Office application suite. If you have Microsoft Office
installed, FrontPage was probably installed along with the other applications
i.e. Word, Excel, PowerPoint etc. FrontPage is a WYSIWYG editor, which
stands for 'what you see is what you get'. This means that FrontPage
displays (and allows you to edit) documents as they would appear in a web browser.
This tutorial will show you some common techniques used when editing
documents in FrontPage 2000 (version 4.0).
To create a new document, click on the 'File' menu and choose 'New' >
'Page...' or press Ctrl+N. The New dialog box will be displayed:
The New Dialog Box
Generally, you will choose the 'Normal Page' template to create a new blank
document, unless you want to use one of the other templates. Note that
pressing Ctrl+N instead of using the menu will open the 'Normal Page' template
without displaying the dialog box. Clicking on the 'New Page' toolbar
button will also
open the 'Normal Page' template. Starting FrontPage will also display a
new document.
PHP (PHP: Hypertext Preprocessor) documents (files ending in .php) are not
supported by FrontPage 2000. This is probably because PHP was not as
popular in 2000 as it is now and also because it is not a Microsoft
technology. The .php file extension is not associated with any program in
Windows by default, so the first thing to do is to associate it with the 'HTML
Document' file type:
In the Control Panel, open the 'Folder Options' icon
Click on the 'File Types' tab
Click on the 'New' button
In the 'File Extension:' button type 'php'
In the 'Associated File Type:' ComboBox choose 'HTML Document'
Click on 'OK' on both dialog boxes
Creating a New File Extension
Unfortunately it is not possible to open PHP files using the 'Open' dialog
box (doing so will just load the file in your browser). Instead you will
need to right-click on the file in Windows Explorer and choose 'Edit'. If
FrontPage cannot recognise the file as an HTML document, you will see this
dialog box:
Open File As Dialog Box
Make sure the 'HTML' option is selected and press 'OK'. To create a new
PHP document, you will need to do this in Windows Explorer and then open it in
FrontPage as shown above.
There is just one more thing to do. As PHP code includes characters
such as '<', '>' etc, you will need to make sure that FrontPage does not
automatically convert these characters to codes e.g. '<', '>'
etc. This would render the PHP code useless. To do this, do the
following:
In FrontPage, click on the 'Tools' menu and choose 'Page Options...'
Click on the 'HTML Source' tab
Make sure the 'Preserve existing HTML' option is selected
Click on 'OK'
Occasionally, FrontPage will convert some PHP characters into HTML
codes. Click on the 'HTML' tab and check your PHP code before saving.