mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2298 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
221 lines
9.2 KiB
XML
221 lines
9.2 KiB
XML
<alfresco-config>
|
|
|
|
<plug-ins>
|
|
<evaluators>
|
|
<evaluator id="node-type" class="org.alfresco.web.config.NodeTypeEvaluator" />
|
|
<evaluator id="aspect-name" class="org.alfresco.web.config.AspectEvaluator" />
|
|
</evaluators>
|
|
<element-readers>
|
|
<element-reader element-name="client" class="org.alfresco.web.config.ClientElementReader"/>
|
|
<element-reader element-name="property-sheet" class="org.alfresco.web.config.PropertySheetElementReader"/>
|
|
<element-reader element-name="navigation" class="org.alfresco.web.config.NavigationElementReader" />
|
|
<element-reader element-name="languages" class="org.alfresco.web.config.LanguagesElementReader" />
|
|
<element-reader element-name="advanced-search" class="org.alfresco.web.config.AdvancedSearchElementReader" />
|
|
<element-reader element-name="views" class="org.alfresco.web.config.ViewsElementReader" />
|
|
</element-readers>
|
|
</plug-ins>
|
|
|
|
<config>
|
|
<admin>
|
|
<initial-password>admin</initial-password>
|
|
</admin>
|
|
<client>
|
|
<!-- the error page the client will use -->
|
|
<error-page>/jsp/error.jsp</error-page>
|
|
|
|
<!-- the login page the client will use -->
|
|
<login-page>/jsp/login.jsp</login-page>
|
|
|
|
<!-- the maximum number of items to show in the recent spaces shelf component -->
|
|
<recent-spaces-items>6</recent-spaces-items>
|
|
|
|
<!-- Shelf component default visibility, set to false to hide the shelf by default -->
|
|
<shelf-visible>true</shelf-visible>
|
|
|
|
<!-- the minimum number of characters required for a valid search string -->
|
|
<search-minimum>3</search-minimum>
|
|
|
|
<!-- The default permissions to apply to a new users Home Space when first created -->
|
|
<!-- this permission is for other users attempting to access that Home Space -->
|
|
<!-- generally set to "Guest" or empty value to indicate a private hidden space. -->
|
|
<!-- see org.alfresco.service.cmr.security.PermissionService for allowed values -->
|
|
<home-space-permission>Guest</home-space-permission>
|
|
|
|
<!-- the URL to the client Help file -->
|
|
<help-url>http://www.alfresco.org/help/webclient</help-url>
|
|
|
|
<!-- the type of edit link to use, NOTE: inline editable will always take precedence -->
|
|
<!-- can be: http|webdav|cifs -->
|
|
<edit-link-type>http</edit-link-type>
|
|
|
|
<!-- the from address to use when sending emails from the client -->
|
|
<from-email-address>alfresco@alfresco.org</from-email-address>
|
|
</client>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="Languages">
|
|
<!-- the list of available language files -->
|
|
<languages>
|
|
<language locale="en_US">English</language>
|
|
<!-- <language locale="fr_FR">French</language> -->
|
|
<!-- <language locale="de_DE">German</language> -->
|
|
<!-- <language locale="ja_JP">Japanese</language> -->
|
|
</languages>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="Views">
|
|
<!-- the views available in the client -->
|
|
<views>
|
|
<view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$DetailsViewRenderer</view-impl>
|
|
<view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$IconViewRenderer</view-impl>
|
|
<view-impl>org.alfresco.web.ui.common.renderer.data.RichListRenderer$ListViewRenderer</view-impl>
|
|
<view-impl>org.alfresco.web.bean.ForumsBean$TopicBubbleViewRenderer</view-impl>
|
|
|
|
<!-- default values for the views available in the client -->
|
|
<view-defaults>
|
|
<browse>
|
|
<!-- allowable values: list|details|icons -->
|
|
<view>icons</view>
|
|
<page-size>
|
|
<list>10</list>
|
|
<details>10</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>
|
|
<sort-descending>true</sort-descending>
|
|
<page-size>
|
|
<bubble>5</bubble>
|
|
<details>20</details>
|
|
</page-size>
|
|
</topic>
|
|
</view-defaults>
|
|
</views>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="Advanced Search">
|
|
<!-- advanced search custom attribute config -->
|
|
<advanced-search>
|
|
<!-- type constraint drop-down -->
|
|
<content-types>
|
|
<!-- cm:content type is implicit in this list -->
|
|
<!-- types must extend cm:content for the Alfresco web-client -->
|
|
<type name="cm:dictionaryModel" />
|
|
<type name="fm:post" />
|
|
</content-types>
|
|
<!-- custom properties to be shown in the More Options panel -->
|
|
<custom-properties>
|
|
</custom-properties>
|
|
</advanced-search>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="Custom Content Types">
|
|
<content-types>
|
|
<type name="cm:dictionaryModel"/>
|
|
</content-types>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="Custom Folder Types">
|
|
<folder-types>
|
|
<type name="fm:forums" icon="/images/icons/forums_large.gif" descriptionMsgId="forums_desc" />
|
|
</folder-types>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="Action Wizards">
|
|
<types>
|
|
<type name="folder" displayLabelId="space"/>
|
|
<type name="content"/>
|
|
</types>
|
|
<aspects>
|
|
<aspect name="generalclassifiable"/>
|
|
<aspect name="complianceable"/>
|
|
<aspect name="dublincore"/>
|
|
<aspect name="effectivity"/>
|
|
<aspect name="summarizable"/>
|
|
<aspect name="versionable"/>
|
|
<aspect name="templatable"/>
|
|
<aspect name="translatable"/>
|
|
<aspect name="localizable"/>
|
|
</aspects>
|
|
<transformers>
|
|
<transformer name="text/html"/>
|
|
<transformer name="application/pdf"/>
|
|
<transformer name="text/plain"/>
|
|
<transformer name="text/xml"/>
|
|
<transformer name="application/x-shockwave-flash"/>
|
|
<transformer name="image/gif"/>
|
|
<transformer name="image/jpeg"/>
|
|
</transformers>
|
|
<image-transformers>
|
|
<transformer name="image/gif"/>
|
|
<transformer name="image/jpeg"/>
|
|
<transformer name="image/png"/>
|
|
</image-transformers>
|
|
</config>
|
|
|
|
<!-- TODO: Move the languages, advanced search and views config -->
|
|
<!-- out to separate config blocks, this means users can -->
|
|
<!-- replace just those sections independently of the client -->
|
|
<!-- section -->
|
|
|
|
|
|
<!-- This config sections below hold all the icons choices -->
|
|
<!-- displayed to users when creating various types of spaces -->
|
|
<!-- in the client. -->
|
|
|
|
<!-- NOTE: The conditions below are all string based and -->
|
|
<!-- will therefore not be found when using Node based -->
|
|
<!-- lookups, this also means the cm: can not be presumed. -->
|
|
|
|
<config evaluator="string-compare" condition="cm:folder icons">
|
|
<icons>
|
|
<icon name="space-icon-default" path="/images/icons/space-icon-default.gif" />
|
|
<icon name="space-icon-star" path="/images/icons/space-icon-star.gif" />
|
|
<icon name="space-icon-doc" path="/images/icons/space-icon-doc.gif" />
|
|
<icon name="space-icon-pen" path="/images/icons/space-icon-pen.gif" />
|
|
<icon name="space-icon-cd" path="/images/icons/space-icon-cd.gif" />
|
|
<icon name="space-icon-image" path="/images/icons/space-icon-image.gif" />
|
|
</icons>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="fm:forums icons">
|
|
<icons>
|
|
<icon name="forums_large" path="/images/icons/forums_large.gif" />
|
|
</icons>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="fm:forum icons">
|
|
<icons>
|
|
<icon name="forum_large" path="/images/icons/forum_large.gif" />
|
|
</icons>
|
|
</config>
|
|
|
|
<config evaluator="string-compare" condition="fm:topic icons">
|
|
<icons>
|
|
<icon name="topic_large" path="/images/icons/topic_large.gif" />
|
|
<icon name="topic_exclamation_large" path="/images/icons/topic_exclamation_large.gif" />
|
|
<icon name="topic_question_large" path="/images/icons/topic_question_large.gif" />
|
|
</icons>
|
|
</config>
|
|
|
|
</alfresco-config>
|