AnsweredAssumed Answered

Share Extension - order of appearance

Question asked by dhartford on Aug 9, 2013
Latest reply on Aug 13, 2013 by ddraper
Hi all,
Reviewing what is possible with extensions (based on examples), I think I've run into a stumbling block.

preface: The idea of using Extensions in /shared/lib/ to avoid AMP's being applied to the WAR (which can not be easily removed after applied) is really appealing.  Personal preference is to stay away from AMP's, and either go back to the /shared/classes/alfresco/** approach or the extension approach.


Question: For Document Details, I would like to change the order of the right-side pane such that the Metadata is on top.

Code snippet:


         <div class="yui-u">
            <@region id="document-actions" scope="template"/>
            <@region id="document-tags" scope="template"/>
            <@region id="document-links" scope="template"/>
            <@region id="document-metadata" scope="template"/>
            <@region id="document-sync" scope="template"/>
            <@region id="document-permissions" scope="template"/>
            <@region id="document-workflows" scope="template"/>
            <@region id="document-versions" scope="template"/>
            <@region id="document-publishing" scope="template"/>
            <#if imapServerEnabled>
               <@region id="document-attachments" scope="template"/>
            </#if>
         </div>


Is there a clean approach to simply reorder these?

(bonus: configure which ones are open or collapsed by default)

environment: alfresco 4.2.c CE

thanky!
-D

Outcomes