Preview HTML Document or PHP Pages
Preview HTML document
You can preview HTML documents directly in WeBuilder or automatically open them in specified Web browser.
Preview without leaving WeBuilder
To quickly preview HTML document without leaving editing environment, click Preview tab at the bottom of the document window.
You can also use one of the Split Screen tabs at the bottom of document window, to switch to horizontal or vertical split screen preview mode which allows you to edit code and preview results instantly.
To preview HTML document in a Web browser
- On the Tools menu, point to Preview In.
- On the Preview In submenu, click the Web browser you wish to use.
Previewing PHP pages
In order to be able to preview PHP pages, you must configure your WeBuilder editor to work with your web server.
Configuring WeBuilder to work with a web server
Server side scripts such as PHP or ASP need to be executed on web server, before correct preview can be generated. WeBuilder provides a feature called mappings, which passes scripts through web server before previewing them.
Mappings allow to map your local file system or FTP folders to web addresses. For example, you can map c:\wwwroot to http://localhost/
To add, edit or remove mapping:
- On the Options menu, click Preferences.
- In Preferences window, click Preview folder.
- Click Mappings.
- Click Add, Delete or Edit, to add, delete or edit a mapping.
- You can preview PHP pages directly in WeBuilder or open them in a selected Web browser.
|