{"id":1422,"date":"2012-01-18T13:23:28","date_gmt":"2012-01-18T19:23:28","guid":{"rendered":"http:\/\/www.uv.mx\/personal\/gvera\/?p=1422"},"modified":"2012-01-23T08:49:11","modified_gmt":"2012-01-23T14:49:11","slug":"unable-to-drag-widgets-to-sidebar-when-count-per-day-is-enabled-in-ie9","status":"publish","type":"post","link":"https:\/\/www.uv.mx\/personal\/gvera\/2012\/01\/18\/unable-to-drag-widgets-to-sidebar-when-count-per-day-is-enabled-in-ie9\/","title":{"rendered":"Unable to drag widgets to sidebar when Count-per-Day is enabled in IE9"},"content":{"rendered":"<p><a href=\"http:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/1.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1423\" title=\"Problema: No permite arrastrar\" src=\"http:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/1.gif\" alt=\"\" width=\"635\" height=\"203\" srcset=\"https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/1.gif 635w, https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/1-300x95.gif 300w\" sizes=\"auto, (max-width: 635px) 100vw, 635px\" \/><\/a><\/p>\n<p>I\u2019ve been having this issue on my WordPress multisite network when I turn on the Count per Day plugin on my sites: I am unable to move the widgets right after the Count per Day widget to the sidebar in the administration area.<\/p>\n<h3>The problem<\/h3>\n<p><a href=\"http:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/1.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1423\" title=\"Problema: No permite arrastrar\" src=\"http:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/1-300x95.gif\" alt=\"\" width=\"300\" height=\"95\" srcset=\"https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/1-300x95.gif 300w, https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/1.gif 635w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>If you try to grab the widget to drag it to the sidebar, it will not move and you end up selecting text instead. This issue only seems to affect Internet Explorer. Firefox and Chrome apparently do not have this problem.<\/p>\n<h3>What it is not<\/h3>\n<p>At fisrt, I though it was just a simple incompatibility issue with Internet Explorer 9. I found that it is not. The cause of this is an unclosed tag.<\/p>\n<h3>Solution<\/h3>\n<p>Simply open your count-per-day plugin directory and find the file named counter.php. Search for the line 1237. You will find something like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1425\" title=\"Problema. C\u00f3digo fuente\" src=\"http:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/problema.gif\" alt=\"\" width=\"540\" height=\"104\" srcset=\"https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/problema.gif 540w, https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/problema-300x57.gif 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/p>\n<p>Did you notice? The label tag it is not closed. Just close it and you are ready to go.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1426\" title=\"Solucion. C\u00f3digo Fuente\" src=\"http:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/solucion.gif\" alt=\"\" width=\"558\" height=\"107\" srcset=\"https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/solucion.gif 558w, https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/solucion-300x57.gif 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/p>\n<p>Now everything is working as expected in IE9.<\/p>\n<p><a href=\"http:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/2.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1424\" title=\"Soluci\u00f3n. Ahora ya podemos arrastar los widgets.\" src=\"http:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/2-300x78.gif\" alt=\"\" width=\"300\" height=\"78\" srcset=\"https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/2-300x78.gif 300w, https:\/\/www.uv.mx\/personal\/gvera\/files\/2012\/01\/2.gif 623w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a title=\"Count per Day\" href=\"http:\/\/wordpress.org\/extend\/plugins\/count-per-day\/\" target=\"_blank\">Count per Day<\/a> is a great plugin. Thanks to the developers for this awesome work.<\/p>\n<p>Hope it helps you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019ve been having this issue on my WordPress multisite network when I turn on the Count per Day plugin on my sites: I am unable to move the widgets right after the Count per Day widget to the sidebar in the administration area. The problem If you try to grab the widget to drag it&#8230;<\/p>\n","protected":false},"author":2,"featured_media":1423,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,27],"tags":[11,36,62,12],"class_list":["post-1422","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-wordpress-2","tag-articulos-2","tag-php","tag-plugins","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/posts\/1422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/comments?post=1422"}],"version-history":[{"count":0,"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/posts\/1422\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/media\/1423"}],"wp:attachment":[{"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/media?parent=1422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/categories?post=1422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.uv.mx\/personal\/gvera\/wp-json\/wp\/v2\/tags?post=1422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}