O'Reilly logo

Alfresco 3 Cookbook by Snig Bhaumik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changing the default view of Items in Space contents

By default, all the spaces and content items under a folder are displayed in the icon view. Let’s assume we want our default view to be details. This is much like your windows explorer view options and patterns.

How to do it...

  1. Open the web-client-config-custom.xml file in your favorite editor and put this code segment inside the root node—<alfresco-config>.
    <config evaluator=”string-compare” condition=”Views”>
    <views>
    <view-defaults>
    <browse>
    <!-- allowable values: list|details|icons -->
    <view>details</view>
    <page-size>
    <list>20</list>
    <details>20</details>
    <icons>20</icons>
    </page-size>
    </browse>
    </view-defaults>
    </views>
    </config>
    
  2. Assuming the file was blank, after adding this code, the full ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required