VDaemon PHP Library | VDaemon Extension | Table of Contents

VDaemon Extension User Guide
Dreamweaver VDaemon Extension UI Elements

VDaemon Extension adds the following elements into Dreamweaver User Interface:

- VDaemon Objects menu (Insert -> VDaemon Objects)
- VDaemon tab in the Insert Panel (Window -> Insert)
- VDaemon server behaviors in the Server Behaviors Panel (Window -> Server Behaviors)
- VDaemon Property Inspectors (Window -> Properties)
- VDaemon Tag Editors

VDaemon Objects menu

VDaemon Objects menu completely duplicates commands from VDaemon Insert Panel tab (see below).

VDaemon Insert Panel tab

Install VDaemon button copies VDaemon library files to the selected folder on your local site. To install VDaemon library press Browse... button in Install VDaemon dialog, then choose any existing folder under your local site root folder or create new one using Create New Folder button (Create New Folder). It is recomended creating "vdaemon" folder and installing VDaemon library to it.

Include VDaemon button inserts <?php include('vdaemon.php'); ?> statement to the beginning of your page. This statement is required for all VDaemon "form" and "action" pages. Press Browse... button in Include VDaemon dialog, then navigate to you VDaemon installation folder and select vdaemon.php file in File Select dialog. Note: you must choose Document option in Relative to drop-down list in the File Select dialog.

Insert VDEnd() button inserts <?php VDEnd(); ?> statement to end of your page. This statement is required for all VDaemon "form" pages.

Summary button inserts VDaemon Summary custom tag to your page at a caret position.

Label button inserts VDaemon Label custom tag to your page at a caret position.

Validator button inserts VDaemon Validator custom tag to your page at a caret position.

Group button inserts VDaemon Group Validator custom tag to your page at a caret position.

VDaemon Help button shows VDaemon PHP Library help.

Vdaemon Extension Help button shows this help.

For more information about VDaemon custom tags see VDaemon PHP Library help ().

VDaemon Server Behaviors

You can attach VDaemon Server Behaviors to forms by using server behaviors that appear in the Server Behaviors panel. The VDaemon Server Behaviors are available only if a form has been inserted into the document. VDaemon Extension contains two server behaviors:

- VDaemon Insert Record and VDaemon Update Record duplicate Dreamweaver's Insert Record and Update Record server behaviors except they fully support VDaemon functionality.

Also you can freely use other PHP/MySQL Server Behaviors with VDaemon.

VDaemon Property Inspectors

You can use the Property Inspectors to inspect and edit the attributes of VDaemon custom tags (vlsummary, vllabel, vlvalidator and vlgroup) on your page. To use Property Inspector select VDaemon tag you want to edit. The Property inspector for the tag appears below the Document window. If the Property Inspector is not visible, select Window -> Properties.

VDaemon Tag Editors

You can use a Tag Editor to inspect and edit the attributes of VDaemon custom tags (vlsummary, vllabel, vlvalidator and vlgroup) and standard tags which have VDaemon specific attributes (form, input, select, textarea). To use a tag editor Right-click (Windows) or Control-click (Macintosh) the tag you want to edit on the page and choose Edit Tag from the pop-up menu or press Ctrl + F5. Tag Editors for VDaemon custom tags are also used when you insert tags by choosing menu command from VDaemon menu or by pressing button on the VDaemon Insert Panel toolbar.