如何删除生成项目生成的虚拟内容?

发布于 2024-10-03 08:44:22 字数 123 浏览 1 评论 0原文

这里可以问有关Drupal的问题吗? 我认为答案是“是”并提出我的问题。

我使用“生成项目”(Devel 模块的一部分)来生成一些虚拟内容,但我找不到任何删除它们的选项。

如何从我的数据库中删除它们?

Is it allowed to ask questions about Drupal here?
I assume the answer is "yes" and ask my question.

I used Generate items (a part of the Devel module) to generate some dummy content, but I can not find any option to delete them.

How can I delete them from my database?

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

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

发布评论

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

评论(3

情愿 2024-10-10 08:44:22

您是否尝试过使用视图批量操作模块:http://drupal.org/project/views_bulk_operations

Have you tried using Views Bulk Operations module: http://drupal.org/project/views_bulk_operations ?

三生一梦 2024-10-10 08:44:22

创建内容时,您可以选择“在生成新内容之前删除这些节点类型中的所有内容”。如果勾选并将生成的节点设置为0,则只会删除所选类型的节点,而不会生成新的节点。但是,这也会删除不是由 devel 创建的节点。

根据 Devel 作者的说法,Devel 模块不会跟踪其生成的内容,因此您必须使用其他东西,例如视图批量操作或 delete_all 模块。

When you create content you have an option "Delete all content in these node types before generating new content." If you check it and set the nodes to be generated to 0, it will only delete the nodes of the selected type without generating new ones. However, this will also delete nodes not created by devel.

According to Devel authors, Devel module is not going to keep track of its generated content, so you have to use something else, like views bulk operations or delete_all modules.

桃气十足 2024-10-10 08:44:22

转到 /admin/content/node,选择它们,然后选择“删除所选内容”

Go to /admin/content/node, select them, and select "Delete selected"

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