{"id":1146,"date":"2022-09-06T13:38:08","date_gmt":"2022-09-06T13:38:08","guid":{"rendered":"https:\/\/sls.gmu.edu\/web\/?p=1146"},"modified":"2025-03-14T08:13:13","modified_gmt":"2025-03-14T12:13:13","slug":"adding-courses-to-focus-areas-dynamically","status":"publish","type":"post","link":"https:\/\/sls.gmu.edu\/web\/2022\/09\/06\/adding-courses-to-focus-areas-dynamically\/","title":{"rendered":"Adding Courses to Focus Areas Dynamically"},"content":{"rendered":"<p>To add a course to the <a href=\"https:\/\/www.law.gmu.edu\/academics\/focus_areas\/\">JD Focus Areas &amp; Concentrations<\/a>, go to the specific course page under the Course Descriptions directory, navigate to the Template Variables tab, stay on the Courses tab,<br \/>\nscroll down to the Focus Areas &amp; Concentrations TV (<code>course_focus_areas _concentrations<\/code>), then check the appropriate box.<\/p>\n<figure id=\"attachment_1147\" aria-describedby=\"caption-attachment-1147\" style=\"width: 840px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-1147\" src=\"https:\/\/sls.gmu.edu\/web\/wp-content\/uploads\/sites\/2\/2022\/09\/Screen-Shot-2022-09-06-at-9.07.17-AM-932x1024.png\" alt=\"Screenshot\" width=\"840\" height=\"923\" srcset=\"https:\/\/sls.gmu.edu\/web\/wp-content\/uploads\/sites\/2\/2022\/09\/Screen-Shot-2022-09-06-at-9.07.17-AM-932x1024.png 932w, https:\/\/sls.gmu.edu\/web\/wp-content\/uploads\/sites\/2\/2022\/09\/Screen-Shot-2022-09-06-at-9.07.17-AM-273x300.png 273w, https:\/\/sls.gmu.edu\/web\/wp-content\/uploads\/sites\/2\/2022\/09\/Screen-Shot-2022-09-06-at-9.07.17-AM-768x843.png 768w, https:\/\/sls.gmu.edu\/web\/wp-content\/uploads\/sites\/2\/2022\/09\/Screen-Shot-2022-09-06-at-9.07.17-AM.png 1018w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption id=\"caption-attachment-1147\" class=\"wp-caption-text\">Focus Areas &amp; Concentrations TV<\/figcaption><\/figure>\n<h2>Input Option Values<\/h2>\n<p>The following input values are placed in <code>course_focus_areas _concentrations<\/code> TV:<\/p>\n<p><code>Administrative Law and Government Regulation==administration_government||Antitrust Law==antitrust||Business &amp; Financial Regulation==business_financial||Constitutional Law==constitutional||Criminal Law and Procedure==criminal_procedure||Cyber Law==cyber||Environmental &amp; Energy Law=environmental_energy||Family Law and Estate Planning==family_estate||Immigration &amp; Human Rights Law==immigration_human_rights||Intellectual Property==intellectual_property||International &amp; Comparative Law==international_comparative||Labor &amp; Employment Law==labor_employment||Law &amp; Economics==law_economics||Litigation &amp; Alternative Dispute Resolution==litigation_alternative_depute||National Security Law and Policy==national_security||Patent Law==patent||Public Interest Law==public_interest||Tax Law==tax<\/code><\/p>\n<p>Here\u2019s the chunk called <code>focus_areas_concentrations_list<\/code>:<\/p>\n<p><code>&lt;li&gt;&lt;a href=\"[[~[[+id]]]]\"&gt;[[+pagetitle]]&lt;\/a&gt;&lt;\/li&gt;<\/code><\/p>\n<p>Here\u2019s the <code>getResources<\/code>:<\/p>\n<p><code>&lt;ul&gt;<br \/>\n[[getResources? &amp;parents=`14` &amp;tpl=`focus_areas_concentrations_list` &amp;limit=`0` &amp;showHidden=`0` &amp;depth=`2` &amp;includeTVs=`1` &amp;tvPrefix=`` &amp;tvFilters=`%administration_government%` &amp;sortbyTV=`course_number` &amp;sortdirTV=`ASC`]]<br \/>\n&lt;\/ul&gt;<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add a course to the JD Focus Areas &amp; Concentrations, go to the specific course page under the Course Descriptions directory, navigate to the Template Variables tab, stay on the Courses tab, scroll down to the Focus Areas &amp; Concentrations TV (course_focus_areas _concentrations), then check the appropriate box. Input Option Values The following input &hellip; <a href=\"https:\/\/sls.gmu.edu\/web\/2022\/09\/06\/adding-courses-to-focus-areas-dynamically\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Adding Courses to Focus Areas Dynamically&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[11],"tags":[22],"class_list":["post-1146","post","type-post","status-publish","format-standard","hentry","category-web-development","tag-modx"],"_links":{"self":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/1146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/comments?post=1146"}],"version-history":[{"count":0,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/posts\/1146\/revisions"}],"wp:attachment":[{"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/media?parent=1146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/categories?post=1146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sls.gmu.edu\/web\/wp-json\/wp\/v2\/tags?post=1146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}