English 中文(简体)
• 如何将文件记录集从一个电离层转移到另一个电离层?
原标题:How to move the documentactions viewlet from a viewletmanager to another?

Once again back with a Plone question.

我安装了Plone 4,我需要展示文件行动方位,而不是自下而上。 难以做到这一点。 一个人能够提供帮助。

最佳回答

如果你刚才需要搬迁该信箱(有相同的类别和模板),首先,你必须登记一个同一类的电文,以填写你所希望的电离单(plone.app.layout.viewlets.interfaces.IAboveContentBody):

<browser:viewlet
    name="plone.abovecontenttitle.documentactions"
    manager="plone.app.layout.viewlets.interfaces.IAboveContentBody"
    class="plone.app.layout.viewlets.content.DocumentActionsViewlet"
    permission="zope2.View"
    />

并在您的一般编目中添加(文件viewlets.xml):

<?xml version="1.0"?>
<object>
 <order manager="plone.abovecontentbody" skinname="Plone Default">
  <!-- this will place your viewlet before all the others.
       you can also use a viewlet s name for a relative position -->
  <viewlet name="plone.abovecontenttitle.documentactions" insert-before="*"/>
 </order>

 <hidden manager="plone.belowcontentbody" skinname="Plone Default">
  <viewlet name="plone.abovecontenttitle.documentactions"/>
 </hidden>
</object>

更多信息:

问题回答

暂无回答




相关问题
How to go from uml to app in zope (plone)

I have watched this keynote that talk about develop an app based on an UML model, but I can t find any tutorial or docs about it. Do you know any tutorial or documentation to help me? thanks

Install Plone egg as a Python module on Windows

I have a Plone site (Plone version 3.1.2) that I need to install a product called GrufSpaces on - (http://plone.org/products/grufspaces). However, it is a production site and so I can t easily take it ...

Plone with Apache Proxy

I have a plone zinstance set up through Apache Proxy on OS X Server 10.5. The server is set up with a single vhost on port 80, with Proxy & Proxypass directives to the Plone zinstance: ...

Zope / Plone 3 product uninstsall issue

Hey all, I uninstalled a content type that I d previously added and afterward I m still getting a warning of 2010-01-06 22:43:50 WARNING OFS.Uninstalled Could not import class myclass from module ...

plone.app.blob or z3c.blobfile?

I need a blob file field as part of a content type in plone. plone.app.blob s BlobField should provide this, but I can t find how to get a URL to download the file including the original filename (e.g....

Moving (very old) Zope/Plone Site to Django

I am ask to move data from a (now offline) site driven by Plone to a new Django site. These are the version informations I have: Zope Version (unreleased version, python 2.1.3 ) Python Version 2.1....

热门标签