1) | Download zap into your cookbook from the PmWiki website and enable it in a local config file by adding this line:
include_once("$FarmD/cookbook/zap.php"); To use any of the commands in the ZAPtoolbox, you will need to download it as well, and either enable it, or cut and paste specific extension commands/markups to local config files as needed. If you do enable ZAPtoolbox, consider setting up a ZAPConfig page for more security. To get the latest ZAP script(s), click here?. |
2) | ZAP's default settings allow any page visitor to submit a form. You can restrict access to a form by changing the ZAP form attribute of a group/page to some other setting, such as id:*, or to specific individuals, groups, or passwords. See the Security tutorial for more information. You may also wish to review the PmWiki documentation on page attributes and password management. |
3) | To verify that you have ZAP properly installed on your system, copy this snippet to a page in your wiki and click the button.
(:zapform key=check:)(:zapget:) (:zap Install="Installation Successful" check:) (:zap passdata="Install" check:) (:input submit value="Test Install":) {$Install} (:zapend:) Here's what it should do: (:zapform:)(:zapget:) (:zap Install="Installation Successful":) (:zap passdata="Install":) (:zapend:) |
4) | Still having trouble? Read the TroubleShooting checklist. |