缺少操作菜单

发布于 2024-12-08 19:22:57 字数 318 浏览 3 评论 0原文

我正在使用 Plone 4.0.1,但遇到问题,操作菜单丢失。当我想更改站点的状态或通过“操作...”复制/粘贴时,我只需转到此按钮链接的页面,即“操作”的folder_contents。所以我无法使用任何操作。 当我用 Firebug 调查它时,我看到了这个:

<dl id="plone-contentmenu-actions" class="actionMenu deactivated">

所以我想知道,如何再次激活操作菜单?可悲的是,我不知道是什么导致了这个问题。

感谢您提前提供的任何帮助,

布兰登

I'm using Plone 4.0.1 and I have the problem, that the action menu is missing. When I want to change the state of a site or copy/paste via "actions...", I just get to the page which is linked at this button, which is folder_contents for "actions". So I can not use any of the actions.
When I investigate it with Firebug, I see this:

<dl id="plone-contentmenu-actions" class="actionMenu deactivated">

So I wonder, how can I activate the action-menu again? Sadly, I do not know what could have caused the problem.

Thanks for any help in advance,

Brandon

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

2024-12-15 19:22:57

deactivated 类指的是菜单的展开状态(当您展开菜单时,该类通过 javascript 切换为 activated)。这里的问题是您错过了该菜单中的所有“操作”。我看到这两个选项:

  • 如果您有权限访问 zope 管理界面,则转到:
    兹米-> Portal_actions ->; object_buttons 并检查按钮是否“可见”。
  • 如果您没有该权限,可能有人已删除您编辑内容的角色/权限,或者您不是该内容的所有者。

The deactivated class is referred to the expansion state of the menu (when you expand the menu, that class is switched with activated via javascript). The problem here is that you miss all 'actions' inside that menu. I see these two options:

  • If you have the permission to access the zope managment interface then go to:
    zmi -> portal_actions -> object_buttons and check if buttons are "visible".
  • if you do not have that permission probably someone has removed your roles/permissions to edit contents or you are not the owner of that content.
向日葵 2024-12-15 19:22:57

非常感谢您的帮助!我发现了问题......我很惭愧我之前没有想到这一点。必须激活 Portal_javascripts 中的脚本“dropdown.js”才能使操作菜单正常工作。我不知道为什么它被停用,但现在一切正常:)

谢谢大家!

thank you very much for your help! I found the problem... and I'm quite ashamed I didn't think of this before. The script "dropdown.js" in portal_javascripts has to be activated for the actionmenu to work. I do not know why it was deactivated, but now everything works :)

Thanks to all of you!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文