11-13-2010 03:23 PM
11-14-2010 08:11 PM
11-15-2010 04:33 AM
<preset id="user-dashboard">
<components>
<!– title –>
<component>
<scope>page</scope>
<region-id>title</region-id>
<source-id>user/${userid}/dashboard</source-id>
<url>/components/title/user-dashboard-title</url>
</component>
<component>
<scope>page</scope>
<region-id>component-1-1</region-id>
<source-id>user/${userid}/dashboard</source-id>
<url>/components/dashlets/my-activities</url>
</component>
<component>
<scope>page</scope>
<region-id>component-2-1</region-id>
<source-id>user/${userid}/dashboard</source-id>
<url>/components/dashlets/my-profile</url>
</component>
<component>
<scope>page</scope>
<region-id>component-3-1</region-id>
<source-id>user/${userid}/dashboard</source-id>
<url>/components/dashlets/my-sites</url>
</component>
</components>
<pages>
<page id="user/${userid}/dashboard">
<title>User Dashboard</title>
<title-id>page.userDashboard.title</title-id>
<description>Users dashboard page</description>
<description-id>page.userDashboard.description</description-id>
<template-instance>dashboard-3-columns</template-instance>
<authentication>user</authentication>
</page>
</pages>
</preset>
11-15-2010 12:33 PM
11-15-2010 12:35 PM
..Sólo agregaría que lo correcto sería copiar esos dos archivos bajo tomcat/shared/classes/alfresco/web-extension con el nombre de presets-custom.xml y share-config-custom.xml respectivamente, y efectuar allí todas las modificaciones. Estoy en lo correcto?
11-15-2010 03:18 PM
11-15-2010 05:21 PM
11-15-2010 05:31 PM
¿Extendiendolo en shared/classes/…?Exacto, tal cual he mencionado en mi anterior post. Al menos los cambios que he realizado en presets-custom.xml (como ser que no me muestre el botón superior de repositorio) ha funcionado correctamente.
11-15-2010 05:50 PM
11-15-2010 08:03 PM
<alfresco-config>
<!– Global config section –>
<config replace="true">
<header>
<app-items>
<!– defaults: icon="{id}.png" label="header.{id}.label" description="header.{id}.description" –>
<item type="link" id="my-dashboard">{userdashboardpage}</item>
<item type="js" id="sites">Alfresco.module.Sites</item>
<item type="link" id="people">/people-finder</item>
<!– <item type="link" id="repository">/repository</item> –>
<item type="container" id="more">
<container-group id="my">
<item type="link" id="my-tasks">/my-tasks</item>
<item type="link" id="my-workflows">/my-workflows</item>
<item type="link" id="my-content">/user/user-content</item>
<item type="link" id="my-sites">/user/user-sites</item>
<item type="link" id="my-profile">{userprofilepage}</item>
<item type="js" id="saved-searches" condition="false">Alfresco.module.SavedSearches</item>
</container-group>
<container-group id="tools" permission="admin">
<item type="link" id="application">/console/admin-console/application</item>
<item type="link" id="groups">/console/admin-console/groups</item>
<item type="link" id="replication-jobs">/console/admin-console/replication-jobs</item>
<item type="link" id="repository">/console/admin-console/repository</item>
<item type="link" id="users">/console/admin-console/users</item>
</container-group>
</item>
</app-items>
<user-items>
<item type="container" id="user" icon="" description="">
<container-group id="usermenu" label="">
<item type="user" id="status">{userprofilepage}</item>
<item type="link" id="my-profile">{userprofilepage}</item>
<item type="link" id="change-password" condition="!context.externalAuthentication">/user/change-password</item>
<item type="external-link" id="help">{share-help}</item>
<item type="link" id="logout" condition="!context.externalAuthentication">/dologout</item>
</container-group>
</item>
<item type="external-link" id="help" icon="">{share-help}</item>
</user-items>
<dependencies>
<css src="/modules/create-site.css" />
<css src="/modules/header/sites.css" />
<js src="/modules/create-site.js" />
<js src="/modules/header/sites.js" />
</dependencies>
</header>
</config>
<config evaluator="string-compare" condition="SitePages" replace="true">
<pages>
<page id="calendar">calendar</page>
<page id="wiki-page">wiki-page?title=Main_Page</page>
<page id="documentlibrary">documentlibrary</page>
<page id="discussions-topiclist">discussions-topiclist</page>
<page id="blog-postlist">blog-postlist</page>
<page id="links">links</page>
<page id="data-lists">data-lists</page>
</pages>
</config>
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
<!–
Google Docs™ integration
–>
<google-docs>
<!–
Enable/disable the Google Docs UI integration (Extra types on Create Content menu, Google Docs actions).
–>
<enabled>true</enabled>
<!–
The mimetypes of documents Google Docs allows you to create via the Share interface.
The I18N label is created from the "type" attribute, e.g. google-docs.doc=Google Docs™ Document
–>
<creatable-types>
<creatable type="doc">application/msword</creatable>
<creatable type="xls">application/vnd.ms-excel</creatable>
<creatable type="ppt">application/vnd.ms-powerpoint</creatable>
</creatable-types>
</google-docs>
</config>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.