cancel
Showing results for 
Search instead for 
Did you mean: 

Category TreeView in a share site

kriton
Champ in-the-making
Champ in-the-making
Hello,

I am trying to configure the category-Treeview that is displayed in share repository so that it is displayed in share sites as well as the repository.

I expected that by editing share\WEB-INF\classes\alfresco\templates\org\alfresco\documentlibrary.ftl

and editing the following lines:

         <div class="yui-b" id="alf-filters">
            <@region id="filter" scope="template"/>
            <@region id="tree" scope="template"/>
            <@region id="tags" scope="template"/>
         </div>

to this (like it's done in repository.ftl):

         <div class="yui-b" id="alf-filters">
            <@region id="filter" scope="template" />
            <@region id="tree" scope="template" />
            <@region id="categories" scope="template" />
            <@region id="tags" scope="template" />
         </div>

would do the trick, but apparently it is not.

Any help appreciated Smiley Happy
1 REPLY 1

kriton
Champ in-the-making
Champ in-the-making
I found the answer to my problem faster than I expected.

solution:

add those lines in share\WEB-INF\classes\alfresco\site-data\template-instances\documentlibrary.xml


      <component>
         <region-id>categories</region-id>
         <url>/components/documentlibrary/categories</url>
      </component>