{"id":569,"date":"2018-08-24T15:38:12","date_gmt":"2018-08-24T13:38:12","guid":{"rendered":"http:\/\/www.ume.li\/blog\/?p=569"},"modified":"2018-08-24T15:38:41","modified_gmt":"2018-08-24T13:38:41","slug":"ibm-connections-customizer-first-steps","status":"publish","type":"post","link":"https:\/\/www.ume.li\/blog\/2018\/08\/24\/ibm-connections-customizer-first-steps\/","title":{"rendered":"IBM Connections Customizer first steps &#8211; Improve Search Results View"},"content":{"rendered":"<p>At the beginning of August, we had an interesting training for <a href=\"http:\/\/lmgtfy.com\/?q=IBM+Connections+Customizer\" target=\"_blank\" rel=\"noopener\">IBM Connections Customizer.<\/a><\/p>\n<p>Everything you need to know is here: <a href=\"https:\/\/github.com\/ibmcnxdev\/customizer\" target=\"_blank\" rel=\"noopener\">Customizer on Github<\/a><\/p>\n<p>Hide unnecessary things in connections is easy, just inject the appropriate css. Which is much easier than without the customizer. <\/p>\n<p>Then I had a look at the more advanced samples on <a href=\"http:\/\/opencode4connections.org\" rel=\"noopener\" target=\"_blank\">opencode4connections.org<\/a>. These are good samples, but do not have a practical use in our environment.<br \/>\nSo I decided to opensource a tiny sample which improved our Connections slightly. <a href=\"https:\/\/github.com\/umeli\/cnx-searchresults\" rel=\"noopener\" target=\"_blank\">Source is here<\/a>.<\/p>\n<p>This small sample changes the search results page so it opens the results in a new tab instead of the current page.<\/p>\n<p>The real challenge started, when I tried to filter or page through the results. Customizer injected scripts start, when the page reloads.<br \/>\nFiltering the searchresults does not reload the page&#8230;<br \/>\nThanks to <a href=\"https:\/\/davidwalsh.name\/mutationobserver-api\" rel=\"noopener\" target=\"_blank\">David Walsh&#8217;s site<\/a> I added the MutationObserver. <\/p>\n<p>Now filtering\/paging the results works.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At the beginning of August, we had an interesting training for IBM Connections Customizer. Everything you need to know is<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-569","post","type-post","status-publish","format-standard","hentry","category-connections"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/comments?post=569"}],"version-history":[{"count":3,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/569\/revisions"}],"predecessor-version":[{"id":572,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/569\/revisions\/572"}],"wp:attachment":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/media?parent=569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/categories?post=569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/tags?post=569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}