Alfresco 露天:找出内容的类型
当我登录Alfresco 露天:找出内容的类型,alfresco,Alfresco,当我登录http://localhost:8080/alfresco我可以导航到一个文件夹并看到四个内容项。到现在为止,一直都还不错。但是除了一个PDF图标外,没有关于每种内容类型的类型的指示 有没有办法为自定义内容类型指定图标? 我希望图标取决于我的自定义类型 <types> <type name="sc:doc"> <title>Someco Content</title> <parent>c
http://localhost:8080/alfresco
我可以导航到一个文件夹并看到四个内容项。到现在为止,一直都还不错。但是除了一个PDF图标外,没有关于每种内容类型的类型的指示
有没有办法为自定义内容类型指定图标?
我希望图标取决于我的自定义类型
<types>
<type name="sc:doc">
<title>Someco Content</title>
<parent>cm:content</parent>
<icon>boring-icon.png</icon> <-- something like this
</type>
<type name="sc:marketingDoc">
<title>Marketing Document</title>
<parent>bnp:doc</parent>
<icon>fancy-marketing-icon.png</icon> <-- something like this
</type>
</types>
Someco内容物
cm:内容
无聊-icon.png看看这里
e、 g.web-client-config-custom.xml(sc:marketingdoc是Alfresco内容类型):
你知道了吗,该Alfresco Explorer已弃用&您应该改用Share?是否希望根据Alfresco内容类型(如cm:content)或mimetype(如应用程序/pdf)使用自定义图标?我希望根据所选的“创建内容类型”下拉列表使用它。我不知道它已被正式弃用。我确实喜欢我所看到的共享,但不幸的是时间限制促使我们使用Alfresco Explorer。
<!-- Specify icon for the kb:document instances -->
<config evaluator="string-compare" condition="sc:marketingDoc icons">
<icons>
<icon name="sc_marketingDoc-icon" path="/images/icons/your_custom_icon.gif" />
</icons>
</config>