{"id":435,"date":"2014-08-13T14:47:00","date_gmt":"2014-08-13T11:47:00","guid":{"rendered":"https:\/\/polyetilen.lt\/?p=435"},"modified":"2023-04-17T13:51:33","modified_gmt":"2023-04-17T10:51:33","slug":"disable-phpmyadmin-ajax-notifications","status":"publish","type":"post","link":"https:\/\/polyetilen.lt\/en\/disable-phpmyadmin-ajax-notifications","title":{"rendered":"Disable phpMyAdmin ajax notifications"},"content":{"rendered":"\n<p>Installed a new version of phpMyAdmin 4.2.7 and noticed that with ajax version appeared a notification about every action in the middle of the screen. It is often notifies not mandatory actions, such as loading the page and it can be annoying. Found a file js\/messages.php which stores the texts of these notifications, and each message is wrapped in a div tag with id=\"loading_parent\". In order to hide this tag with unnecessary notifications, I added in the message text css code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n&lt;style&gt;#loading_parent {display:none;}&lt;\/style&gt;\n<\/pre><\/div>\n\n\n<p>For example page loading notification:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n$js_messages&#x5B;'strLoading'] = __('Loading\u2026');\n<\/pre><\/div>\n\n\n<p>changed to<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n$js_messages&#x5B;'strLoading'] = __('Loading\u2026&lt;style&gt;#loading_parent {display:none;}&lt;\/style&gt;');\n<\/pre><\/div>\n\n\n<p>And this notice does not show.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installed a new version of phpMyAdmin 4.2.7 and noticed that with ajax version appeared a notification about every action in the middle of the screen. It is often notifies not mandatory actions, such as loading &hellip; <a href=\"https:\/\/polyetilen.lt\/en\/disable-phpmyadmin-ajax-notifications\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"http:\/\/polyetilen.lt\/?p=349","footnotes":""},"categories":[8],"tags":[140,141],"class_list":["post-435","post","type-post","status-publish","format-standard","hentry","category-programavimas","tag-phpmyadmin","tag-pranesimas","en-US"],"_links":{"self":[{"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/posts\/435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/comments?post=435"}],"version-history":[{"count":9,"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/posts\/435\/revisions"}],"predecessor-version":[{"id":444,"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/posts\/435\/revisions\/444"}],"wp:attachment":[{"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/media?parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/categories?post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/polyetilen.lt\/wp-json\/wp\/v2\/tags?post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}