Copy A Report

From PikaDocs

Pika makes it easy to plug in a report written by another legal services program.

Reports are generally contained in a directory. The directory generally contains files like:

  • myreport.php (the logic of the report)
  • myreport-form.php (a fairly simple file)
  • form.html (the HTML form)
  • title.txt (contains the title that shows up on your Reports screen)
  • description.txt (this file is optional, if you have it, the description shows on the Reports screen)

Reports are probably going to be distributed as zip files, take for example Iowa's Case_Role_Report. Download the zip file and unzip the directory under the /reports directory of your Pika server's web root directory.

Pika will automatically detect that a new report has been added and show it on the Reports screen.

One caveat: the name of the report directory must match the name of the report file. With the above example, the directory name would have to be myreport. If the directory name does not match the name on myreport.php and myreport-form.php, then Pika will not correctly recognize the report. A link will appear on the reports page, but it will just show the directory rather than the report form.



explained by Dave Kuchler of Pika Software (http://www.pikasoftware.net/)
posted here by Andrew Cameron of Legal Services Lawline of Vermont (http://www.lawlinevt.org/) and Vermont Legal Aid (http://www.vtlegalaid.org/)