VT Popup Timer
From PikaDocs
We have made several customizations to the popup timer.
I'm not going to post all the code here just yet... Hoping to convince Aaron to include some of it in a future version.
If you'd like to check out the code, email me: acameron at@ vtlegalaid .dot org
Part 1: changing the function of the popup timer
- Hide the Pause button, which is non-intuitive to our users
- editing /subtemplates/case_screen.html to make the popup timer popup bigger
- in /subtemplates/activityM.html:
hide the existing start_time field
make the act_time field the start_time field
re-do the javascript to calculate elapsed minutes off of the act_time field, so user can change the starting time if they want
Part 2: changing the look of the popup timer
- add new function at the end of /pika_cms.php
- add code to /timer.php to allow for having client name and case number in the popup timer
- also code in /timer.php to make title of window "Timer Smith" where Smith is client last name
- /subtemplates/activityM.html at the top:
<!-- Andrew 2005/11/21 next 3 lines--> <h3 align="center">Popup Timer</h3> <h2 align="center">Client Name: %%[first_name]%% %%[middle_name]%% %%[last_name]%% %%[extra_name]%%</h2> <h2 align="center">Case Number: %%[number]%%</h2>
initial entry by Andrew Cameron
Legal Services Lawline of Vermont (http://www.lawlinevt.org/) and Vermont Legal Aid (http://www.vtlegalaid.org/)

