Loading

Version 4.0
View Reports —>      

*Free – Registration Required

Description

This plugin adds a student track column to the PowerTeacher and Sub class attendance pages.

This page fragment can easily be modified to display different or additional field values.

Example 1
To add the team field.

$j(function(){
var track = [~[tlist_sql;
SELECT cc.id, s.track, s.team
FROM cc
INNER JOIN students s ON (cc.studentid = s.id)
WHERE sectionid = ~(gpv.sectionid;sqlText)]
{“id”:”ccid_~(id)”,”track”:”~(track;t) / ~(team;t)”},
[/tlist_sql]];
$j(“table#attendance-table colgroup:first col:first”).after(”);
$j(“table#attendance-table tr:first th:first”).after(‘Track / Team’);
for(i=0;i’ + track[i].track + ”);
}
})

Example 2
To Decode the Track values.

$j(function(){
var track = [~[tlist_sql;
SELECT cc.id, decode(s.Track,’A’,’Navy’,’B’,’Gold’,’C’,’All Virtual’,”) Track
FROM cc
INNER JOIN students s ON (cc.studentid = s.id)
WHERE sectionid = ~(gpv.sectionid;sqlText)]
{“id”:”ccid_~(id)”,”track”:”~(Track)”},
[/tlist_sql]];
$j(“table#attendance-table colgroup:first col:first”).after(”);
$j(“table#attendance-table tr:first th:first”).after(‘Track / Cohort’);
for(i=0;i’ + track[i].track + ”);
}
})

PSCB Development Team
Rob Staats
Manjit Basra

Version Update History

4.0 (2022-06-01)
– Initial PSCB DEV Release

Additional Plugin Requirement

The following PSCB plugins should be installed prior to the installation of this customization.

PSCB Dev – Customization (Base Resources)

Installation

Install in System > System Settings > Plugin Management Configuration

Do not unzip the plugin. Install the entire zip file. Be sure to enable the plugin once it’s installed.

If you are updating, you can now click on the Plugin name and then use the Update button, and then browse to the new file and click Submit and it will then load the update and then ask you to enable it.

Instructions

Login to PowerTeacher start page.
Click on the chair icon for a selected class.