calendar template

Cute Class Schedule Template 8 Class

Class Schedule Class Schedule – University Marketing and Communications – Santa Clara University Skip to main content HomeUniversity Marketing and CommunicationsWeb and Digital DesignWeb Design & DevelopmentContent TypesSCU SystemsClass Schedule

Include a schedule of classes for a selected subject

Page  - Free printable class schedule templates to customize  Canva
Page – Free printable class schedule templates to customize Canva

This content type will select and display SCU class schedule data for a particular subject and term. If a term isn’t specified in the content type, the term for the current month will be selected. There’s an optional setting to include available seats for a class. We’re using the same database that supports Courseavail – a listing here will be identical to what is found in the Courseavail site.

CourseClassTitleDays/TimesInstructor Loading Results… ‘; } } } $(‘table#schedule19328 > tbody’).append(” + obj.subject + ‘ ‘ + obj.catalogNbr + ” + obj.classNbr + ” + obj.classTitle + ” + obj.meetDays1 + ‘ ‘ + obj.meetStartTm1 + ‘-‘ + obj.meetEndTm1 + ” + instr + ”); } var navhtml = ”; var countText = ”; var startNum = resultsStart+1; var endNum = resultsStart + resultsLimit; if(resultsArray.length < resultsLimit) { endNum = resultsArray.length; } if (endNum > resultsLimit) { navhtml += ‘Previous ‘; } if (endNum < resultsArray.length && resultsArray.length > resultsLimit) { navhtml += ‘Next ‘; } if(resultsArray.length < (resultsStart+resultsLimit)) { endNum = resultsArray.length; } countText = ‘

Page  - Free printable class schedule templates to customize  Canva
Page – Free printable class schedule templates to customize Canva

‘ + resultsArray.length + ‘ classes found. Displaying matches ‘ + startNum + ‘ – ‘ + endNum + ‘

‘; if (showAvailable == ‘yes’) { $(‘td.seats_td’).addClass(‘show’); } var subjectDisplay = ”; if (subjectDisplay == ‘yes’ && obj.subjectDescr) { $(‘#subjectTerm19328 .subjectDescr’).text(obj.subjectDescr+’ : ‘); } $(‘#subjectTerm19328 .termDescr’).text(obj.termName+’ ‘); $(‘table#schedule19328’).before(countText); $(‘table#schedule19328’).after(‘

‘+navhtml+’

Page  - Free printable class schedule templates to customize  Canva
Page – Free printable class schedule templates to customize Canva

‘); } } function showClassDetails(data) { var resultsArray = data.results; var obj = resultsArray[0]; var detailHTML = ”; if ( obj.class_nbr ) { console.log( ‘use legacy format’ ); showClassDetailsPPL(data); return; } for(var i = 0; i < resultsArray.length; i++) { var obj = resultsArray [i]; if(!obj.loc_id) { obj.loc_id = “”; } if(!obj.l_cname) { obj.l_cname = obj.l_mtg_facility_1; } detailHTML += ‘nn’; detailHTML += ‘n

Return to list

‘; if (typeof obj.loc_id !== “undefined” && obj.loc_id.length > 0) { detailHTML += ‘n’; } else { detailHTML += ‘n’; } detailHTML += ‘n’ + obj.subjectDescr + ‘ ‘ + obj.catalogNbr + ‘ : ‘ + obj.classTitle + ”; detailHTML += ‘nn’; detailHTML += ‘nClass Number’ + obj.classNbr + ”; detailHTML += ‘nQuarter’ + obj.termName + ”; //detailHTML += ‘nSchool’ + obj.acad_group_descr + ”; detailHTML += ‘nLevel’ + obj.academicLevel + ”; var instr = ”; if ( Array.isArray(obj.facids)) { detailHTML += ‘nFaculty’; for (m=0; m’+obj.facids[m].firstName + ‘ ‘ + obj.facids[m].lastName +”; } } } if (obj.meetDays1 && obj.meetDays1.length > 0) { detailHTML += ‘nTimes’ + obj.meetDays1 + ‘ ‘ + obj.meetStartTm1 + ‘ – ‘ + obj.meetEndTm1 + ‘ ‘ + (obj.meetLoc1?obj.meetLoc1:”); } if (obj.meetDays2 && obj.meetDays2.length > 0) { detailHTML += ” + obj.meetDays2 + ‘ ‘ + obj.meetStartTm2 + ‘ – ‘ + obj.meetEndTm2 + ‘ ‘ + (obj.meetLoc2?obj.meetLoc2:”); } if (obj.meetDays1 && obj.meetDays1.length > 0) { detailHTML += ”; } detailHTML += ‘nCredits’ + obj.minimumUnits + ‘/’ + obj.maximumUnits + ”; detailHTML += ‘nn’; detailHTML += ‘n’; detailHTML += ‘nn’; detailHTML += ‘n’; detailHTML += ‘n’; detailHTML += ‘nDescription’ + (obj.courseDescr? obj.courseDescr: obj.description); if (obj.enrllInfo && obj.enrllInfo.length > 0) { detailHTML += ‘nEnrollment Info:’ + obj.enrllInfo; } detailHTML += ‘nnnn

Please note: cross-listed class capacities may not reflect accurate seat availability.

Page  - Free printable class schedule templates to customize  Canva
Page – Free printable class schedule templates to customize Canva

nn’; $(‘div#classDetails19328′).html(detailHTML); buildInsetMap($(“#cdetailmap”),obj.lat,obj.long,’350px’,obj.mtg_facility_1); $(‘table#schedule19328’).hide(); } } function getUrlParameter(sParam) { var sPageURL = decodeURIComponent(window.location.search.substring(1)),sURLVariables = sPageURL.split(‘&’),sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split(‘=’); if (sParameterName[0] === sParam) { return sParameterName[1] === undefined ? true : sParameterName[1]; } } }; //This is a legacy version of this function, leave it here during transition but can remove afterwards function buildTablePPL(data) { var resultsArray = data.results; if(resultsArray.length < (resultsStart+resultsLimit)) { listLength = resultsArray.length; } for(var i = resultsStart; i < listLength; i++) { var obj = resultsArray[i]; console.log(obj); if (obj.seats_remaining <= 0) { obj.seats_remaining = ‘Closed’; } $(‘table#schedule19328 > tbody’).append(” + obj.subject + ‘ ‘ + obj.catalog_nbr + ” + obj.class_nbr + ” + obj.class_descr + ” + obj. mtg_days_1 + ‘ ‘ + obj.mtg_time_beg_1 + ‘-‘ + obj.mtg_time_end_1 + ” + obj. instr_1 + ” + obj.seats_remaining + ”); } var navhtml = ”; var countText = ”; var startNum = resultsStart+1; var endNum = resultsStart + resultsLimit; if(resultsArray.length < resultsLimit) { endNum = resultsArray.length; } if (endNum > resultsLimit) { navhtml += ‘Previous ‘; } if (endNum < resultsArray.length && resultsArray.length > resultsLimit) { navhtml += ‘Next ‘; } if(resultsArray.length < (resultsStart+resultsLimit)) { endNum = resultsArray.length; } countText = ‘

‘ + resultsArray.length + ‘ classes found. Displaying matches ‘ + startNum + ‘ – ‘ + endNum + ‘

‘; if (showAvailable == ‘yes’) { $(‘td.seats_td’).addClass(‘show’); } var subjectDisplay = ”; if (subjectDisplay == ‘yes’) { $(‘#subjectTerm19328 .subjectDescr’).text(obj.subject_descr+’ : ‘); } $(‘#subjectTerm19328 .termDescr’).text(obj.strm_descr+’ ‘); $(‘table#schedule19328’).before(countText); $(‘table#schedule19328’).after(‘

‘+navhtml+’

‘); } function showClassDetailsPPL(data) { var resultsArray = data.results; var obj = resultsArray[0]; var detailHTML = ”; for(var i = 0; i < resultsArray.length; i++) { var obj = resultsArray [i]; if(!obj.loc_id) { obj.loc_id = “”; } if(!obj.l_cname) { obj.l_cname = obj.l_mtg_facility_1; } detailHTML += ‘nn’; detailHTML += ‘n

Return to list

‘; if (typeof obj.loc_id !== “undefined” && obj.loc_id.length > 0) { detailHTML += ‘n’; } else { detailHTML += ‘n’; } detailHTML += ‘n’ + obj.subject_descr + ‘ ‘ + obj.catalog_nbr + ‘ : ‘ + obj.class_descr + ”; detailHTML += ‘nn’; detailHTML += ‘nClass Number’ + obj.class_nbr + ”; detailHTML += ‘nSeats Remaining’ + obj.seats_text + ”; detailHTML += ‘nQuarter’ + obj.strm_descr + ”; detailHTML += ‘nSchool’ + obj.acad_group_descr + ”; detailHTML += ‘nLevel’ + obj.acad_career_descr + ”; if (obj.instr_1.length > 0) { detailHTML += ‘nInstructor’ + obj.instr_1 + ”; } if (typeof obj.loc_id !== “undefined” && obj.loc_id != ”) { if (obj.l_cname.length > 0) { detailHTML += ‘nLocation’ + ” + obj.l_cname + ”; } else { detailHTML += ‘nLocation’ + ” + obj.l_mtg_facility_1 + ”; } } if (obj.mtg_days_1.length > 0) { detailHTML += ‘nTimes’ + obj.mtg_days_1 + ‘ ‘ + obj.time1_fr + ‘ – ‘ + obj.mtg_time_end_1; } if (obj.mtg_days_2.length > 0) { detailHTML += ” + obj.mtg_days_2 + ‘ ‘ + obj.time2_fr + ‘ – ‘ + obj.mtg_time_end_2; } if (obj.mtg_days_1.length > 0) { detailHTML += ”; } detailHTML += ‘nCredits’ + obj.units_minimum + ‘/’ + obj.units_maximum + ”; if (!obj.core_descr === null && obj.core_descr.length > 0 && obj.core_descr !== ‘, ‘) { detailHTML += ‘nCore’ + obj.core_descr + ”; } detailHTML += ‘nn’; detailHTML += ‘n’; if (typeof obj.loc_id !== “undefined” && obj.loc_id.length > 0) { detailHTML += ‘n’; //detailHTML += ‘

campus map

‘; if(obj.l_img) { detailHTML += ”; } detailHTML += ‘n’; } detailHTML += ‘nn’; detailHTML += ‘n’; detailHTML += ‘n’; detailHTML += ‘nDescription’ + obj.course_descr; if (obj.descrlong.length > 0) { detailHTML += ‘nClass Notes:’ + obj.descrlong; } if (obj.enrllinfo.length > 0) { detailHTML += ‘nEnrollment Info:’ + obj.enrllinfo; } detailHTML += ‘nnnn

Please note: cross-listed class capacities may not reflect accurate seat availability.

nn’; $(‘div#classDetails19328′).html(detailHTML); buildInsetMap($(“#cdetailmap”),obj.lat,obj.long,’350px’,obj.mtg_facility_1); $(‘table#schedule19328’).addClass(‘hide’); } } function getCurrentTerm() { var d = new Date(); var n = d.getMonth(); var y = d.getFullYear(); if ( d > new Date(2023,8,1) ) { curTerm = ‘AP_’ + y.toString().substr(-2) + ‘_’; if (n >= 0 && n < 1 ) { curTerm += ‘WQ’; } else if (n >= 1 && n < 4) { curTerm += ‘SQ’; } else if (n >= 4 && n < 7) { curTerm += ‘SuQ’; } else if (n == 11) { curTerm = ‘AP_’ + (y.toString().substr(-2)+1) + ‘_WQ’; } else { curTerm += ‘FQ’; } return curTerm; } else { var t = ’00’; var termDescr = ‘Fall ‘+y; var ay = (y-2000)+22; if (n >= 0 && n < 3) { t = ’20’; termDescr = ‘Winter ‘+y; ay = ay-1; } else if (n >= 3 && n < 6) { t = ’40’; termDescr = ‘Spring ‘+y; ay = ay-1; } else if (n >= 6 && n < 9) { t = ’60’; termDescr = ‘Summer ‘+y; ay = ay-1; } return curTerm = ay + ” + t; } } Get Web Support Create a Ticket

You are leaving the Santa Clara University Website for a site that is controlled by a third party not affiliated with Santa Clara University. The contents and policies on the third party site you are entering may differ from those of Santa Clara University. We are not responsible for the contents, policies, or the maintenance of the third party website.