<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create Content Menu in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287716#M240846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It depends what you mean by simple customizing &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; I think you'll have to write quite a bit of source code. Unfortunately there is no easy configuration option. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Create Content menu is constructed in the Toolbar component of the Document Library, ie. Alfresco.DocListToolbar (webscript located at: config/alfresco/site-webscripts/org/alfresco/components/documentlibrary/toolbar.get.desc.xml). Most of the work is done in the client-side toolbar.js (/source/web/components/documentlibrary/toolbar.js).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could directly hack the code in toolbar.js. A quick look shows you'll have to at least adapt onReady() method and maybe onCreateContent().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Much better but much more involved would be to create your own share extension module and extend the webscript by creating your own extension of toolbar.js that overrides the appropriate methods. Then add that script in the webscript header (config/alfresco/site-webscripts/org/alfresco/components/documentlibrary/toolbar.get.head.ftl) or create your own toolbar webscript altogether and swap it with the default using the surf extension mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally you should also adjust the mechanism of passing the createContentActions, i.e. add some mechanism to determine the hierarchy of the menu, if you want to retain the easy configuration option in share-custom-config.xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2013 06:44:32 GMT</pubDate>
    <dc:creator>arnoldschrijve1</dc:creator>
    <dc:date>2013-10-03T06:44:32Z</dc:date>
    <item>
      <title>Create Content Menu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287715#M240845</link>
      <description>Hi all,I'm not sure if this question was already answered, but I couldn't use the search of this forum as this results always in an error…!?Here's my question:Is there an opportunity to enhance the "Create Context" menu in Share with a submenu? I'm able to create additional entries in the menu. But</description>
      <pubDate>Fri, 13 Sep 2013 09:50:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287715#M240845</guid>
      <dc:creator>itzamna</dc:creator>
      <dc:date>2013-09-13T09:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Content Menu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287716#M240846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It depends what you mean by simple customizing &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; I think you'll have to write quite a bit of source code. Unfortunately there is no easy configuration option. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Create Content menu is constructed in the Toolbar component of the Document Library, ie. Alfresco.DocListToolbar (webscript located at: config/alfresco/site-webscripts/org/alfresco/components/documentlibrary/toolbar.get.desc.xml). Most of the work is done in the client-side toolbar.js (/source/web/components/documentlibrary/toolbar.js).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could directly hack the code in toolbar.js. A quick look shows you'll have to at least adapt onReady() method and maybe onCreateContent().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Much better but much more involved would be to create your own share extension module and extend the webscript by creating your own extension of toolbar.js that overrides the appropriate methods. Then add that script in the webscript header (config/alfresco/site-webscripts/org/alfresco/components/documentlibrary/toolbar.get.head.ftl) or create your own toolbar webscript altogether and swap it with the default using the surf extension mechanism.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally you should also adjust the mechanism of passing the createContentActions, i.e. add some mechanism to determine the hierarchy of the menu, if you want to retain the easy configuration option in share-custom-config.xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 06:44:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-content-menu/m-p/287716#M240846</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2013-10-03T06:44:32Z</dc:date>
    </item>
  </channel>
</rss>

