{"id":2984,"date":"2021-12-13T15:22:22","date_gmt":"2021-12-13T14:22:22","guid":{"rendered":"https:\/\/libreduc.cc\/blog\/astuce\/?p=2984"},"modified":"2021-12-13T15:22:34","modified_gmt":"2021-12-13T14:22:34","slug":"s4e-categories-dans-lurl","status":"publish","type":"post","link":"https:\/\/libreduc.cc\/blog\/astuce\/2021\/12\/13\/s4e-categories-dans-lurl\/","title":{"rendered":"S4E : cat\u00e9gories dans l&rsquo;URL"},"content":{"rendered":"\n<p>L&rsquo;objectif est de simplifier l&rsquo;utilisation de plusieurs fa\u00e7ons. Au d\u00e9marrage le logiciel d\u00e9tecte que rien n&rsquo;est compl\u00e9t\u00e9 dans l&rsquo;URL alors il met les cat\u00e9gories par d\u00e9faut, puis liste toutes les cat\u00e9gories disponibles dans le menu lat\u00e9ral. Si une carte est s\u00e9lectionn\u00e9 alors la cat\u00e9gorie \u00ab\u00a0carte\u00a0\u00bb est rajout\u00e9e.<\/p>\n<p>A chaque fois que l&rsquo;utilisateur coche une cat\u00e9gorie, son nom appara\u00eet ou dispara\u00eet de l&rsquo;URL. Si un enseignant pr\u00e9pare les cat\u00e9gories qu&rsquo;il juge utiles aux \u00e9l\u00e8ves, puis fait un raccourci gr\u00e2ce \u00e0 l&rsquo;URL modifi\u00e9e, les \u00e9l\u00e8ves arriveront sur une page o\u00f9 les cat\u00e9gories sont pr\u00eates, et aucune autre n&rsquo;est accessible afin de ne pas parasiter. Par contre cela bloque l&rsquo;apparition de la cat\u00e9gorie &lsquo;carte&rsquo; si celle-ci n&rsquo;est pas choisie avant.<\/p>\n<p>Cliquer sur &lsquo;Reset&rsquo; ou bien supprimer les cat\u00e9gories dans l&rsquo;URL puis rafra\u00eechir permet de revenir \u00e0 une situation initiale.<\/p>\n\n\n\n<p>The aim is to simplify use in several ways. At startup the software detects that nothing is filled in the URL so it sets the default categories, then lists all available categories in the side menu. If a board is selected then the category \u00ab\u00a0board\u00a0\u00bb is added.<\/p>\n<p>Each time the user ticks a category, its name appears or disappears from the URL. If a teacher prepares the categories that he thinks are useful for the students, and then makes a shortcut with the modified URL, the students will arrive at a page where the categories are ready, and none of the others are accessible so as not to interfere. However, this will block the appearance of the &lsquo;board&rsquo; category if it is not chosen before.<\/p>\n<p>Clicking on &lsquo;Reset&rsquo; or deleting the categories in the URL and then refreshing will return to an initial situation.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/libreduc.cc\/blog\/astuce\/wp-content\/uploads\/2021\/12\/S4E_toolboxids_in_URL.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>L&rsquo;objectif est de simplifier l&rsquo;utilisation de plusieurs fa\u00e7ons. Au d\u00e9marrage le logiciel d\u00e9tecte que rien n&rsquo;est compl\u00e9t\u00e9 dans l&rsquo;URL alors il met les cat\u00e9gories par d\u00e9faut, puis liste toutes les cat\u00e9gories disponibles dans le menu lat\u00e9ral. Si une carte est &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/libreduc.cc\/blog\/astuce\/2021\/12\/13\/s4e-categories-dans-lurl\/\"> <span class=\"screen-reader-text\">S4E : cat\u00e9gories dans l&rsquo;URL<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2,3],"tags":[],"class_list":["post-2984","post","type-post","status-publish","format-standard","hentry","category-numerique","category-technologie"],"_links":{"self":[{"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/posts\/2984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/comments?post=2984"}],"version-history":[{"count":1,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/posts\/2984\/revisions"}],"predecessor-version":[{"id":2986,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/posts\/2984\/revisions\/2986"}],"wp:attachment":[{"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/media?parent=2984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/categories?post=2984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/libreduc.cc\/blog\/astuce\/wp-json\/wp\/v2\/tags?post=2984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}