编辑并保存该节点时,drupal 7 特定页面快捷方式消失

发布于 2024-10-20 23:42:44 字数 387 浏览 2 评论 0原文

我创建了一个新用户,并授予了编辑和显示某些特定内容类型的权限,该用户没有其他权限。此外,我还为他创建了一个快捷方式列表,其中包含该类型的一些特定节点,他有权查看和编辑这些节点。

但奇怪的是,当用户(我已经检查过哪个用户,甚至管理员用户)编辑并保存该节点时,该节点的快捷方式从菜单栏中消失。我已经检查了该用户的快捷方式列表,但那里没有快捷方式。

你也有同样的经历吗?


更新:发现我遇到的菜单问题存在类似问题,表明这是一个错误:http://drupal.org/node/761648#comment-4345692

I have created a new user and I have given the rights to edit and display some specific content type, and the user has no other rights. Also I have created for him an shortcut list with some specific nodes of that type, which he has access to see and to edit.

But the strange thing is when the user (I have checked doesn't matter which user, even the administrator user) edit and save that node, then the shortcut to that node disappear from the menu bar. I have check the shortcut list attributed to that user and there is no shortcut there.

Do you experience the same thing?


UPDATE: Found a similar issue for the menu problem I'm experiencing indicating that this is a bug: http://drupal.org/node/761648#comment-4345692

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

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

发布评论

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

评论(4

南城追梦 2024-10-27 23:42:44

我也有同样的烦恼。每次编辑内容时重新创建菜单变得非常烦人。我不知道如何修复它,但问题似乎源于编辑内容时“菜单设置”选项卡中的“提供菜单链接”选项。如果我每次编辑内容时不手动更改它,它会自动选择将菜单链接添加到主菜单,并从它所在的任何其他菜单中删除它。如果我取消选中它,它仍然会删除旧的无论如何,菜单项。

希望有人能解答!

I have the same trouble. It becomes very tiresome recreating my menus every time I edit content. I don't know how to fix it, but it seems the problem stems from the 'Provide a menu link' option in the Menu Settings tab while editing content. If I don't manually change it every time I edit content, it'll automatically choose to add a menu link to the main menu, deleting it from any other menu it was in. If I uncheck it, it will still delete the old menu item anyway.

I hope someone has answers!

临走之时 2024-10-27 23:42:44

我对“基本页面”也有同样的问题。
更改了内容类型(结构>内容类型)“基本页面”并选中了“可用菜单”的所有复选框。
如果您现在编辑内容并将“提供菜单链接”设置为正确的菜单,它会正确记住它并且菜单项不会再消失。
希望这有帮助。
侄子

I had the same problem with 'basic pages'.
Changed content type (structure > content types) 'basic page' and checked all the checkboxes for 'available menus'.
If you edit the content now and set the 'provide menu link' to the correct menu it remembers it correctly and the menu items don't disappear anymore.
Hope this helps.
Nephews

眼波传意 2024-10-27 23:42:44

尝试简化 URL。

我发现的一件事是,如果 Drupal 不喜欢(无论出于何种验证原因)您的 URL,它不会显示它,直到您将其编辑为可接受的。

例如,我尝试重复添加此内容但没有成功,

node/2/edit%3Fdestination%3Dadmin/content

它显示得很好。

 node/2/edit

当我将其更改为:也许节点 URL 中的某些内容在编辑时发生变化时,

Try simplifying the URLs.

One thing I've found is that if Drupal doesn't like (for whatever validation reason) your URL, it will not show it until you edit it to be acceptable.

For example, I tried adding this repeatedly without success

node/2/edit%3Fdestination%3Dadmin/content

It showed up fine when I changed it to:

 node/2/edit

Perhaps something in the node URL changes when they edit it.

喜爱纠缠 2024-10-27 23:42:44

这不是真正的错误,但有点奇怪;)

您必须编辑内容类型才能接受所有引用的菜单。因此,实际的菜单项不会被删除并放置在主菜单中。

玩得开心=)

It's not a real bug, but a bit strange ;)

You have to edit your content type to accept all referred menus. So, the actual menu entry won't be deleted and placed in main menu.

Have fun =)

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