DSW: New school, new program in RUetd

Project:RUetd
Version:2.2.2
Component:Code
Category:feature request
Priority:normal
Assigned:martyb
Status:Moved to JIRA
Description

We've been asked by the School of Social Work to add their new DSW (Doctorate in Social Work) program to RUetd. This degree is administered by the School of Social Work. It is unique in that it is a three-year program that focuses on clinical practice but it has a writing program culminating in a final Case Study. The case study is the central feature of the program, appropriate for publication in peer reviewed journals. SSW would like to have these case studies included in RUetd as their equivalent of a thesis or dissertation. They will graduate their first class in June 2015, so we can include them from the beginning.
<br /><br />
We also need to customize the RUetd form for this program, since they do not have a traditional dissertation committee (chair, internal member, etc.). The Advisory Committee can't be a required field for this program.

Comments

#1

Status:active» fixed

School of Social Work (SSW) changes, including making committee an optional entry and adding June as a graduation month.
(schoolID of SSW = 13)

1. Changed schools table from Graduate School of Social Work to School of Social Work

2. Added DSW to degree_type table

3. Manage Schools:
a. Correct admin info for School of Social Work
b. no ProQuest
c. add Program (910 - Social Work)
d. add Terms & Conditions (standard Rutgers and student rights, standard PDF requirement, SSW publication and copyright guidelines)
e. add normal Embargoes

4. Committee: In content/submit_steps/step2.php, made the following changes:

change to line 396:
<td width="200" class="label">e. Degree Date<br/><span class="required-small-red">(required)</span></td>

change to line 448:
<td width="200" class="label">f. Deferred Access<br/></td>

moved lines 296-394 after line 469 and in that section changed:
<tr>
<td width="200" class="label">6. Advisory Committee<br/><span class="required-small-red">(required)</span></td>
<td class="content">

<input type="hidden" name="chThesisGrantor" value="<?php echo $GLOBALS['THESIS_GRANTOR']; ?>" /><br />
to:
<?php
$sThisClass = isset($_SESSION['etd_user_school']) && $_SESSION['etd_user_school'] == 13 ? " blue" : "";
$sThisHdg = isset($_SESSION['etd_user_school']) && $_SESSION['etd_user_school'] == 13 ? "" : " <span class=\"required-small-white\">(required)</span>";
$sThisInstr = isset($_SESSION['etd_user_school']) && $_SESSION['etd_user_school'] == 13 ? "" : " <span class=\"instructions_white\">Only the Chair is required.</span>";
?>
<tr class="entryTableHeader<?php echo $sThisClass;?>">
<td colspan="2"><span class="subtitle"><strong>6. Advisory Committee</strong><?php echo $sThisHdg;?></span><?php echo $sThisInstr;?></td>
<?php unset($sThisClass);unset($sThisHdg);unset($sThisInstr);?>
</tr>

<tr>
<td colspan="2" class="content">

<input type="hidden" name="chThesisGrantor" value="<?php echo $GLOBALS['THESIS_GRANTOR']; ?>" /><br />

5. Committee: In process_steps.php, added the following:

changed lines 436 to 442:
// make sure there's an advisory chair
if(empty($chAdvisorFN[0]) && empty($chAdvisorLN[0])){
$errorMessage .= "You must enter the chair of your advisory committee.";
array_push($_SESSION['submit_errors'],$errorMessage);
header("location: index.php?view=submit");
exit();
}

to:
// make sure there's an advisory chair, except for School of Social Work
if($nSchoolID != 13){
if(empty($chAdvisorFN[0])){
$errorMessage .= "You must enter the chair of your advisory committee.";
array_push($_SESSION['submit_errors'],$errorMessage);
header("location: index.php?view=submit");
exit();
}
}

6. Committee: Graduation Rpt:

change to content/grad_report.php:

replaced line 96:
<td align="center"><b><span class="medtext_white">Advisor</span></b></td>
with:
<?php
if($schoolid !== '13'){
echo '<td align="center"><b><span class="medtext_white">Advisor</span></b></td>';

}

?>

replaced line 113:
echo '<td>' . $value["chAdvisorLN"] . ', ' . $value["chAdvisorFN"] . ' ' . $value["chAdvisorMN"] . '</td>';
with:
if($schoolid !== '13'){
echo '<td>' . $value["chAdvisorLN"] . ', ' . $value["chAdvisorFN"] . ' ' . $value["chAdvisorMN"] . '</td>';
}

7. Committee: getGradReport function

change to library/functions.php:
replaced line 2954:
$headers = "LastName,FirstName,MiddleName,DegreeType,Program,Title,AdvisorLastName,AdvisorFirstName,AdvisorMiddleName";
with:
// School of Social Work (schoolID=13) does not require a committee

if($schoolid !== '13') {

$headers = "LastName,FirstName,MiddleName,DegreeType,Program,Title,AdvisorLastName,AdvisorFirstName,AdvisorMiddleName";

}else{

$headers = "LastName,FirstName,MiddleName,DegreeType,Program,Title";

}

replaced lines 2958-2965:
$sql = "SELECT chLNameAsAppears, chFNameAsAppears, chMNameAsAppears, chDegreeAbbr,

chProgramName, chTitle, chAdvisorLN, chAdvisorFN, chAdvisorMN
FROM papers

INNER JOIN degree_type ON papers.fkDegreeTypeID = degree_type.nDegreeTypeID

INNER JOIN programs ON papers.fkProgramID = programs.nProgramID
INNER JOIN advisors2papers ON papers.nPaperID = advisors2papers.fkPaperID
INNER JOIN advisors ON advisors2papers.fkAdvisorID = advisors.nAdvisorID
WHERE chGradDateYear = '$gradyear' AND fkAdvisorRoleID = 1";
with:
if($schoolid !== '13') {

$sql = "SELECT chLNameAsAppears, chFNameAsAppears, chMNameAsAppears, chDegreeAbbr,
chProgramName, chTitle, chAdvisorLN, chAdvisorFN, chAdvisorMN
FROM papers

INNER JOIN degree_type ON papers.fkDegreeTypeID = degree_type.nDegreeTypeID

INNER JOIN programs ON papers.fkProgramID = programs.nProgramID

INNER JOIN advisors2papers ON papers.nPaperID = advisors2papers.fkPaperID
INNER JOIN advisors ON advisors2papers.fkAdvisorID = advisors.nAdvisorID

WHERE chGradDateYear = '$gradyear' AND fkAdvisorRoleID = 1";

}else{

$sql = "SELECT chLNameAsAppears, chFNameAsAppears, chMNameAsAppears, chDegreeAbbr,
chProgramName, chTitle
FROM papers
INNER JOIN degree_type ON papers.fkDegreeTypeID = degree_type.nDegreeTypeID

INNER JOIN programs ON papers.fkProgramID = programs.nProgramID
WHERE chGradDateYear = '$gradyear'";

}

8. Grad month: ETD Info: In content/submit_steps/step2.php, made the following changes:

changed line 303 to:
$gradmonth = array('01'=>'January','05'=>'May','06'=>'June','10'=>'October');

9. Grad month: Update My Info: In content/profile.php, made the following change:

changed line 516 to:
$gradmonth = array('01'=>'January','05'=>'May','06'=>'June','10'=>'October');

10. Grad month: View Submissions: In content/view_submissions.php, made the following change:

changed line 227 to:
$gradmonth = array('01'=>'January','05'=>'May','06'=>'June','10'=>'October');

11. Grad month: Graduation Rpt:

change to content/grad_report.php:
added line after line 47:
<option value="06" <?php if(isset($_POST['chGradMonth']) && $_POST['chGradMonth'] == "06"){ echo "selected "; } ?>>June</option>

12. Grad month: Export to WMS:

change to content/xml_export.php:
added line after line 67:
<option value="06" <?php if(isset($_POST['chGradMonth']) && $_POST['chGradMonth'] == "06"){ echo "selected "; } ?>>June</option>

13. Grad month: Export to ProQuest:

change to content/umi_export.php:
added line after line 65:
<option value="06" <?php if(isset($_POST['chGradMonth']) && $_POST['chGradMonth'] == "06"){ echo "selected "; } ?>>June</option>

#2

Status:fixed» active

Although the school celebrates graduation in June, the students do not actually graduate until October. (They will submit their case studies at various times during the year, but the deadline for submission is October for graduation that year.)

Remove June from the degree date code.

#3

Status:active» Moved to JIRA

Moved to JIRA.

Back to top