Monday, January 18, 2010

Customizing Defaults in Alfresco And Share

Setting default view as "Details View" in Alfresco.

Hi We can change the default view in alfresco after login.

Goto   \tomcat\webapps\alfresco\WEB-INF\classes\alfresco

change the file web-client-config.xml

Change the following code as per the requirement..

---------------------------------------------------------------------------------------------------
<!-- default values for the views available in the client -->
<view-defaults>
<browse>
<!-- allowable values: list|details|icons -->
<view>details</view>
<page-size>
<list>10</list>
<details>50</details>
<icons>9</icons>
</page-size>
</browse>
<forums>
<!-- allowable values: list|details|icons -->
<view>list</view>
<page-size>
<list>20</list>
<details>20</details>
<icons>20</icons>
</page-size>
</forums>
<forum>
<!-- allowable values: details -->
<view>details</view>
<page-size>
<details>20</details>
</page-size>
</forum>
<topic>
<!-- allowable values: details|bubble -->
<view>bubble</view>
<sort-column>created</sort-column>
<!-- allowable values: ascending|descending -->
<sort-direction>descending</sort-direction>
<page-size>
<bubble>5</bubble>
<details>20</details>
</page-size>
</topic>
</view-defaults>
</views>
</config>
---------------------------------------------------------------------------------------------------

How to Change Default Dashlets in Share.

to change default view of dashlets in share we need to change presets.xml which is located at
tomcat\webapps\share\WEB-INF\classes\alfresco\site-data\presets

No comments:

Post a Comment