Check on course default IDs

Issue #197 resolved
Emil Reisser-Weston created an issue

I am not sure if these are needed but we still need a way of identifying reserved IDs that work with the [Available Courses] button. I have updated the array in lms_config.php - can you make sure this is applied to all future installs - it will be updated.

var $FixedCourseIDs = array(
     "Equality and Diversity" => 32,
     "Alcohol and Drug Awareness" => 44,
     "Working at Heights" => 48,
     "Health and Safety Induction" => 50,
     "Asbestos Awareness for Neighbourhood Officers" => 51,
     "Driver Safety" => 52,
     "Fire Safety" => 53,
     "Lone Working" => 54,
     "Manual Handling" => 55,
     "Office Safety (no assessment)" => 56,
     "Risk Assessment" => 57,
     "Anti Money Laundering Introduction" => 58,
     "Anti Money Laundering Regulated Activities" => 59,
     "Anti Social Behaviour for Community Safety Officers" => 60,
     "Anti Social Behaviour for General Employees" => 61,
     "Bribery Act" => 62,
     "Data Protection" => 63,
     "General Security" => 64,
     "IT Security" => 65,
     "Asbestos Awareness" => 66,
     "Money Laundering" => 67,
     "e-Start" => 88,
     "Estate Management" => 99,
     "COSHH" => 100,
     "People Management" => 102,
     "Stress" => 104,
     "Time Management" => 105,
     "Welfare Reform LandLords" => 106,
     "Welfare Reform Tenants" => 108,
     "Equality and Diversity Foundation" => 110,
     "Safeguarding Children" => 111,
     "Bribery" => 112,
     "Safeguarding Adults" => 114,
     "Home Ownership" => 116,
     "Assistive Technology" => 121,
     "An Introduction to Section 20" => 122,
     "Tenancy Management " => 123,
     "1 Introduction to StepChange Debt Charity" => 127,
     "2 StepChange About Debt" => 128,
     "3 Stepchange Referring a Tenant Released" => 129,
     "4 Case Studies Step Change Released" => 130,
     "Introduction to Fundraising" => 135,
     "Complaints Handling" => 137,
     "Section 20 Intro for Leaseholder Staff" => 138,
     "Housing Associations" => 141,
     "Bid Writing" => 143,
     "Induction for Social Housing" => 145,
     "e-Office Safety Pro" => 146,
     "e-Office Safety Mobile Pro" => 150,
     "Managing Attendance" => 501,
     "Credit Brokerage Accreditation" => 502,
     "Customer Service" => 503,
     "Managing Performance" => 504,
     "Social Media Usage" => 505,
     "Written Communication" => 506,
     "Managing Disciplinary Issues" => 507,
     "Treating Customers Fairly - Finance" => 508,
     "CDM for Client and Managing Agents" => 509,
     "Food Safety" => 510,
     "Writing a Proposal" => 511,
     "Dealing with Performance Issues" => 512,
     "Unconscious Bias" => 513,
     "Dealing with Grievance Issues" => 514,
     "Customer Service General" => 515,
     "Introduction to Marketing" => 516,
     "Home and Mobile Working" => 517,
       "Introduction to CDM"  => 518,
       "CDM Contractor Management"  => 519,
       "Managing your Digital Footprint"  => 520,
       "Prevent Strategy"  => 521,
       "Mental Wellbeing and Mindfulness"  => 522,
       "Introduction to Governance for SHPs"  => 523,
       "Introduction to Regulatory Framework"  => 524,
       "Introduction to Governance"  => 525,
     "Legal High Awareness for Managers"  => 527,
     "Cocaine Awareness for Managers"  => 528,
     "Heroin Awareness for Managers"  => 529,
     "Ecstasy Awareness for Managers"  => 530,
     "Amphetamine Awareness for Managers"  => 531,
     "Drugs and Young People"  => 532,
     "Value for Money in Social Housing"  => 533,
     "Cannabis Awareness for Managers"  => 534,
     "Volatile Substances Awareness for Managers"  => 535,
     "Alcohol Awareness for Managers"  => 536,
     "Bribery Act for Social Housing"  => 537,
     "ISO 9001 Beginners"  => 538,
     "ISO 9001 Internediate"  => 539,
     "ISO 9001 Advanced"  => 540,
     "Food Safety - An Introduction"  => 541,
     "Food Safety - Cross Contamination"  => 542,
     "Food Safety - Cleaning"  => 543,
     "Food Safety - Chilling"  => 544,
     "Food Safety - Cooking"  => 545,
     "Food Safety - Final Quiz"  => 546,
     "Modern Slavery"  => 547,
     "Managing Conflict and Resilience Introduction"  => 548,
     "Laboratory Safety and Ergonomics"  => 549,
     "LGBT Awareness"  => 550,
     "Managing Conflict and Resilience In Action"  => 551,
     "e-Office Safety Pro No Assessment"  => 552,
     "Telephone Courtesy"  => 553,
     "Customer Name Usage"  => 554,
     "Complaints"  => 555,
     "ISO Beginners"  => 556,
     "ISO Intermediate"  => 557,
     "ISO Advanced"  => 562,
     "Functional Skills Maths Fractions"  => 563,
     "Functional Skills Maths Decimals"  => 564,
     "Functional Skills Maths Ratios"  => 565,
     "Functional Skills Maths 2D Shapes"  => 566,
     "Functional Skills Maths 3D Shapes"  => 567,
     "Functional Skills Maths Scale"  => 568,
     "Functional Skills Maths Data"  => 569,
     "Functional Skills Maths Probability"  => 570,
     "Functional Skills Maths Charts"  => 571,
     "Storyboarding for Media Creation"  => 572,
     "Legal Issues Concerning Media Assets"  => 573,



       "Learning & Technologies 2016 1"  => 950,
       "Learning & Technologies 2016 2"  => 951,

);

Comments (2)

  1. i v

    This was already added and implemneted, but i reorganized the the configuration files in order to make it easier to change global params such as the fixed course ids. Now there are three new separate config files in the distribution:

    fixed_coruse_ids.php default_course_descriptions.php default_course_keywords.php

    lms_config.php loads them automatically and sets the corresponding variables. In this way, it is possible to change these global params without having to edit lms_config of each site. I've also updated the puregym installation.

  2. Log in to comment