Adobe-Consulting-Services / acs-aem-samples

AEM Code Samples repository
http://adobe-consulting-services.github.io/acs-aem-samples/
Apache License 2.0
207 stars 195 forks source link

Possible to extend the side bar? #41

Closed davidknezic closed 8 years ago

davidknezic commented 8 years ago

Is it possible to add a new customized section to the side panel when authoring a page? We'd love to integrate our enterprise asset management into the workflow of our editors.

image

davidjgonzalez commented 8 years ago

@davidknezic see is @schoudry covers this on his blog ... http://experience-aem.blogspot.com/2013/08/in-blog-experiencing-adobe-experience.html

davidknezic commented 8 years ago

Thx @davidjgonzalez. This blog is one big treasure trove! However, while I found an example adding a new panel to the classic sidekick, there's none extending the Touch UI sidepanel. @schoudry?

schoudry commented 8 years ago

@davidknezic sorry I dont think there is one in the blog

davidjgonzalez commented 8 years ago

Checkout... https://github.com/Adobe-Marketing-Cloud/aem-authoring-extension-assetfinder-flickr

Would be awesome if you could pr back a sample at the end!

davidknezic commented 8 years ago

:+1: When I find out, I'll absolutely make a pr!

schoudry commented 8 years ago

@davidknezic check this post http://experience-aem.blogspot.com/2016/01/aem-61-touchui-extending-side-panel-for-adding-tab-page-tree.html

just for kicks added the classic page tree in new tab

image

davidknezic commented 8 years ago

Amazing!!

var $sidePanelEdit = $("#SidePanel").find(".js-sidePanel-edit"),
    $tabs = $sidePanelEdit.data("tabs");

//add the page itree iframe in new tab
$tabs.addItem({
  tabContent: "Page Browser",
  panelContent: getPageContent(),
  active: false
});

That's exactly it! Thank you so much @schoudry for writing this!