{"id":1696,"date":"2009-07-30T17:15:19","date_gmt":"2009-07-30T22:15:19","guid":{"rendered":"http:\/\/blogs.terrorware.com\/geoff\/?p=1696"},"modified":"2009-07-30T17:15:19","modified_gmt":"2009-07-30T22:15:19","slug":"hacking-the-drupal-administration-menu","status":"publish","type":"post","link":"https:\/\/blogs.terrorware.com\/geoff\/2009\/07\/30\/hacking-the-drupal-administration-menu\/","title":{"rendered":"Hacking the Drupal Administration Menu"},"content":{"rendered":"<p>The<a href=\"http:\/\/www.drupal.org\/project\/admin_menu\"> Administration Menu<\/a> module revolutionized my Drupal experience.\u00c2\u00a0 At CRL, we wanted to use it not just for our administrators but for our regular users.\u00c2\u00a0 We needed to customize the menus produced by the module to make it easy for content editors to use.\u00c2\u00a0 We could have modified the menu, or we could have followed the suggestions in the README and copied the CSS into our theme.\u00c2\u00a0 However,\u00c2\u00a0 I wanted to avoid having multiple pieces of code to maintain and keep my modifications in one place.\u00c2\u00a0 So, I tried implementing a module that used admin_menu&#8217;s hooks to add and manipulate menu items.\u00c2\u00a0 It&#8217;s kind of hacky, but a good start for others who want to accomplish similar things.\u00c2\u00a0 <a href=\"http:\/\/blogs.terrorware.com\/geoff\/code\/crl-administration-menu\/\">Read more about the module<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Administration Menu module revolutionized my Drupal experience.\u00c2\u00a0 At CRL, we wanted to use it not just for our administrators but for our regular users.\u00c2\u00a0 We needed to customize the menus produced by the module to make it easy for content editors to use.\u00c2\u00a0 We could have modified the menu, or we could have followed&hellip; <a class=\"more-link\" href=\"https:\/\/blogs.terrorware.com\/geoff\/2009\/07\/30\/hacking-the-drupal-administration-menu\/\">Continue reading <span class=\"screen-reader-text\">Hacking the Drupal Administration Menu<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[731],"class_list":["post-1696","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-drupal-module-menu-tweetit","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4wnIz-rm","_links":{"self":[{"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts\/1696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/comments?post=1696"}],"version-history":[{"count":2,"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts\/1696\/revisions"}],"predecessor-version":[{"id":1698,"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts\/1696\/revisions\/1698"}],"wp:attachment":[{"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/media?parent=1696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/categories?post=1696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/tags?post=1696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}