Jump to content

Hide a subject from the Assignments' dropdown


Graham Quince

Recommended Posts

Just been helping a school who wanted help hiding a subject as it was causing confusion.  As you know, the assignment wizard comes pre-populated with 45 subjects you cannot hide.  I didn't think it was possible, but it is (or appears to be) to use CSS to hide the options.  

Drop this code onto your staff dashboard:

<style>
    /*  Hide Assignment Subject options*/
    option[value="SUBJECT_UUID"], /* Bus&Economics */
    option[value="SUBJECT_UUID"] /* Law */
    {
        display: none !important;
    }
</style>

 

To get an option UUID, it's probably simplest to:

  • right-click on the subject dropdown in the Assignment wizard and choose Inspect.  
  • Expand the line: <select class="input-fill" data-attr="subject">
  • Each subject will be listed with their UUID as the value

inspect.PNG

 

I've only just tried this, let me know if it works or you run into any issues.

 

Link to comment
Share on other sites

  • Graham Quince changed the title to Hide a subject from the Assignments' dropdown

I think all the included subjects have the same UUID across platforms, so this list might make things easier:

Activity option[value="B939F08620031500DAB86FB96C4BA40D0D1B92EC7677D491"],
Art and Design option[value="91364E8D20031F44E5244F062C65370F4736605C0C4B293B"],
Chemistry option[value="CD762717200313840B86EF50FC38E601B5D6B6CC58F31D03"],
Citizenship option[value="915A2B0620031C89E9285FE88413E90EE51BCC6CB0055C68"],
Classics option[value="91364E9A200315B7F0258FCBBA46CC0686964E3C90F3007D"],
Communication and Language option[value="915A2B0C20031111E9EA8FDA55AE020EE8B93A6C2A1B3B83"],
Creative Development option[value="915A2B112003128D14F1CF3F351B3A045DEC1D2CDC49578E"],
Critical thinking option[value="91364EA020031B8E8A2B1F70D3881D01CFCC93EC4EB30AC3"],
Design and Technology option[value="91364EA52003124301368FBB9E1BA507F4637AAC99DFE21D"],
Development Matters option[value="71172E6020031B664A668FE22D2EAC000E69577CBEDE8156"],
Drama, Theatre and Dance option[value="91364EAA20031758394D2FD216679A0DB2E89F6C28890974"],
Engineering option[value="91364EB920031267045DFF90CDE6D40C7DB6F28CF53DD93F"],
English option[value="91364EAF20031403D0DDBF34E5065C0179757BCC6529343C"],
Enrichment studies option[value="91364EB4200314FE2A43EF9E3B15A80650724EECF7C20C62"],
Expressive Arts and Design option[value="330041332003118293577F8641DFC8097E9AD92C8868F6CC"],
Food option[value="498BA13820031E4FFC516F33F72DD10BEF663A2C4D56601F"],
French option[value="C541A6052003149A90BF5F69F03D7B0AF42C7DACE598665C"],
Geography  option[value="91364EBD20031714E63CCF67478DE90B537717AC3FF40642"],
German option[value="C547CC8720031ACDD1828FE40D927203208F9D5C77880F42"],
Government and Politics option[value="91364EC2200319876ECE3F589C8F6B071134BE0C28FA2A9F"],
History option[value="91364EC720031934250A2F97CF3BD40F4596C49CA98D361E"],
Hospitality &amp; Tourism option[value="9BAB2A03200317EC3A5D6F94C81917057113999CFEA7D7A5"],
ICT option[value="915A2B2920031E70B3AC1F96FBEEDF0B2874743C42D1E95A"],
Languages option[value="A70A9AD12003119ABF176F744DB98508D503D5CC1D97A207"],
Latin option[value="91364ED620031CC91D128F788F86C9047F4E0DAC1503B330"],
Law option[value="91364EDB20031B535809DF0BA64941011103089C80143E0D"],
Literacy option[value="915A2B2E2003165CF1405FA75F99C008B8F30F6C0158C705"],
Literacy & Numeracy (Functional Skills) option[value="91364EE020031FB6E898DFD3F0CAAC02C074502CED526516"],
Mathematics option[value="91364EE520031CB80E753FE310D95207FE0C6B1CECB022E9"],
Media option[value="91364EEA20031DC7FB24BF6E77DC690E25B80CAC6ADC9609"],
Modern Foreign Languages (MFL) option[value="91364EEF200314315AA34F77CEA240007F2E21BC2A7A9462"],
Music option[value="91364EF32003198650DEEFC3D3A685080A7F2DEC93937A52"],
No Subject Selected option[value="736CB4D82003183B060EEFE86B52FF015FC320CC7689DB25"],
Other option[value="91364EF8200315B9E2860F434EE3E1095264861C43D05233"],
Personal, Social and Emotional Development (PSED) option[value="915A2B4720031B1C381E7FAFEEDAD10555CF820C29BC92F7"],
Personal, Social Health and Economic Education (PSHE) option[value="91364F0C20031C9563355FC19480C60AD799839C8BC7AF1F"],
Philosophy &amp; Ethics option[value="91364F0720031E29A7200FAEC904A1024EB1F51CD05050E4"],
Physical Development option[value="B939F09820031844ED411F20FCFEFA0AA0354FCC33460AEB"],
Physical Education option[value="91364F0220031EA4CC72EF5DED3B7303EE1B4DDC29ED6CC7"],
Physics option[value="CD76271F2003168C0F573F726CE8DA0EC3E46F0C57AD3809"],
Problem Solving, Reasoning and Numeracy (PSRN) option[value="915A2B5120031AC78A95BF7656C8BC06EFBACF7CCCEEB770"],
PSHE and Citizenship option[value="2511BFEC20031075E7A8BF034B65C40006CEEA6CA07651E3"],
Psychology option[value="91364EFD20031EED04EF2FB13DB3110E6811438C07740894"],
Reading option[value="A6C4DB8F200316613650CF995B835C06B47CA22CDAAC2F62"],
Religious Education option[value="91364F10200311CB5E9F8FA0E944FB023330F7FCF9E81997"],
Science option[value="91364F1520031DB70162AFEE72134306E4B0D0CC582444B7"],
Sociology option[value="91364F1A20031A1604F3AF34159F390B3DD468EC1F257E34"],
Spanish option[value="C54D934620031A29E5707F5D32FD2E0E59752CAC2B3278D8"],
Understanding the World option[value="915A2B602003141F09682FB6F9441D0B2EC6135C65FA04B9"],
Vocational Studies option[value="91364F1F2003173A8E190FD8932DF20BAB9FC05C893524CD"],
Writing option[value="A6C4DB9E200311439945EF32051D26058C06563C5CA2D536"],
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...