{"id":266,"date":"2014-05-22T15:08:54","date_gmt":"2014-05-22T22:08:54","guid":{"rendered":"http:\/\/layneshipley.shipley.website\/?p=266"},"modified":"2014-05-22T15:08:54","modified_gmt":"2014-05-22T22:08:54","slug":"unhiding-admin-block-moodle","status":"publish","type":"post","link":"https:\/\/layne.eqlik.us\/index.php\/archives\/266","title":{"rendered":"Unhiding the &#8220;admin&#8221; block in Moodle"},"content":{"rendered":"<p>Recently, i was configuring one of my Moodle sites. \u00a0I was trying to hide the admin menu from students. \u00a0Well some how I ended up hiding the &#8220;administration&#8221; block from everyone including me&#8230; the admin!<\/p>\n<p>The only way I could undo it was to go into the SQL table and change the &#8220;mdl_block_instances&#8221; table, find the record with the with the &#8220;blockname&#8221; &#8211; &#8220;settings&#8221;, and change the value in the &#8220;pagetypepattern&#8221; field to &#8220;*&#8221;. \u00a0I had some pages listed there. \u00a0Once I did that it reappeared!<\/p>\n<p><a href=\"https:\/\/umy.vxg.mybluehost.me\/website_74479d39\/wp-content\/uploads\/2014\/05\/mdl_block_instances.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-269\" src=\"https:\/\/umy.vxg.mybluehost.me\/website_74479d39\/wp-content\/uploads\/2014\/05\/mdl_block_instances.jpg\" alt=\"mdl_block_instances\" width=\"992\" height=\"631\" srcset=\"https:\/\/layne.eqlik.us\/wp-content\/uploads\/2014\/05\/mdl_block_instances.jpg 992w, https:\/\/layne.eqlik.us\/wp-content\/uploads\/2014\/05\/mdl_block_instances-600x382.jpg 600w, https:\/\/layne.eqlik.us\/wp-content\/uploads\/2014\/05\/mdl_block_instances-300x191.jpg 300w, https:\/\/layne.eqlik.us\/wp-content\/uploads\/2014\/05\/mdl_block_instances-768x489.jpg 768w\" sizes=\"auto, (max-width: 992px) 100vw, 992px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, i was configuring one of my Moodle sites. \u00a0I was trying to hide the admin menu from students. \u00a0Well some how I ended up hiding the &#8220;administration&#8221; block from everyone including me&#8230; the admin! The only way I could undo it was to go into the SQL table and change the &#8220;mdl_block_instances&#8221; table, find the record with the with the &#8220;blockname&#8221; &#8211; &#8220;settings&#8221;, and change the value in the &#8220;pagetypepattern&#8221; field to &#8220;*&#8221;. \u00a0I had some pages listed there. \u00a0Once I did that it reappeared!<\/p>\n","protected":false},"author":1,"featured_media":268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,11],"tags":[],"class_list":["post-266","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computers","category-moodle"],"acf":[],"_links":{"self":[{"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/posts\/266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/comments?post=266"}],"version-history":[{"count":0,"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/posts\/266\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/media\/268"}],"wp:attachment":[{"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/media?parent=266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/categories?post=266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/layne.eqlik.us\/index.php\/wp-json\/wp\/v2\/tags?post=266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}