List Students Auto-Loader
|
Description:
I created this page to accommodate my secretaries who use the List Students function all the time, but can't stand typing in the list values over and over. Through the use of a little javascript, the commonly used list values are stored as sets and can be loaded at any time using a drop down menu on the page. |
Installation:
1. Download and unzip the four pages "studentlist1.html", studentlist2.html, "lists.html", and "lists_menu.html"
2. Alter the lists.html and lists_menu.html pages in a text editor per the directions below.
3. Copy all four pages to
powerschool folder/data/custom/web_root/admin/studentlist/ on your server |
Using List Sets:
There are three pages that make up the List Students Auto-Loader.
studentlist1.html -- is the source page in PowerSchool which will call the other two pages. There is no need to alter this page.
studentlist2.html -- is another customization I created a while back which adds a formatting button to the list results page. It's full description can be found HERE. There is no need to alter this page.
Lists_menu.html -- is the code which makes up the drop-down menu at the top of the list students screen. It must be altered to include an option for each list set you created or removed from your lists.html file.
lists.html -- contains all the settings which
make up your list sets. On this page you will see a couple example list sets which are used in my district. To make new sets simply copy all the code starting with "if" and ending with the close bracket, and paste this after the last set.
The first line of each set starts with if( reportType == "list name " ). On this line you must alter the list name to match what you called the list on the lists_menu.html.
All the lines beginning with document.forms['aForm'].elements[1].value contain values which will be inserted into the fields on the list students page when the list set is selected. The values are listed according to their position on the list students page starting at the top with the report title field, and ending at the bottom with the three optional sort fields.
|
Screen shot:

|