在 Drupal 6 中安装模块

发布于 2024-12-20 09:10:50 字数 80 浏览 2 评论 0原文

我已通过 ftp 将新的解压缩模块文件夹上传到 site/modules 目录中。但它没有显示在我可以配置它的管理面板模块列表中。请帮忙解决问题。

I've uploaded a new unzipped module folder into site/modules directory through ftp. But it is not shown in admin panel module lists from where I can configure it. Please help to solve the problem.

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

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

发布评论

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

评论(2

╰沐子 2024-12-27 09:10:50

我已将新的解压模块文件夹上传到 site/modules 目录中
通过ftp

准确的说,你必须将模块上传到sites/all/modules文件夹中。假设您上传 Views 模块,那么应该有一个名为 /sites/all/modules/views/views.info 的文件。不是 site/modules/views.info 。如果这是您的第一个贡献模块安装,您必须创建一个名为“modules”的文件夹

默认情况下,当您访问模块列表时,Drupal 会清除模块缓存(D7:admin/modules,D6:admin/build/ modules 你很好地搜索了模块列表。它很长,所以很可能你会错过它,除非你知道它是一个人类友好的名字。

D7仅支持D7模块,D6仅支持D6模块,...

I've uploaded a new unzipped module folder into site/modules directory
through ftp

To be precise, you have to upload the module to sites/all/modules folder. Say you upload Views module, then there should be a file called /sites/all/modules/views/views.info. Not sites/modules/views.info . You'll have to create a folder called "modules" if this is your first contributed module installation

By default, Drupal clears module caches when you access modules list (D7: admin/modules , D6: admin/build/modules)

Make sure that you search the modules list well. it's long one so most likely that you miss it unless you know it's human-friendly name.

D7 only supports D7 modules, D6 only supports D6 modules,...

雨落星ぅ辰 2024-12-27 09:10:50

嗯......你说你上传了模块,但它没有出现在配置页面中。抱歉,如果我不明白你在解释什么,而且很明显,但可能你没有在 admin/build/modules 上启用该模块(或显示该模块 UI 的模块)

希望有帮助!

Mmm... You said you uploaded the module, but it's not appearing in configuration pages. Sorry if I don't understand what you are explaining and it's obvious but probably you did not enable the module (or a module that shows the UI's of this module) on admin/build/modules

Hope that helps!

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