Drupal 6 的博客模块

发布于 2025-01-01 15:04:31 字数 1536 浏览 3 评论 0原文

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

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

发布评论

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

评论(1

风柔一江水 2025-01-08 15:04:31

Drupal 6 的核心带有一个博客模块。导航至 admin/build/modules 来启用它。它开箱即用。如果您需要更改博客文章的模板,您也可以这样做。

要更改博客列表 page 的模板:创建 page.tpl.php 的新实例并将其命名为 page-blog.tpl.php 并根据您的喜好进行自定义。

要更改博客node模板:创建一个新的node.tpl.php实例并将其命名为node-blog.tpl.php并根据您的喜好进行自定义。

有关创建模板的更多信息,请参阅Drupal 6 模板建议

Drupal 6 comes with a Blog module in core. Navigate to admin/build/modules to enable it. It will work out of the box. If you need to change the template for a blog post you can do that as well.

To change the template for the blog listing page: create a new instance of page.tpl.php and name it page-blog.tpl.php and customize to your liking.

To change the blog node template: create a new instance of node.tpl.php and name it node-blog.tpl.php and customize to your liking.

For more on creating templates, see Drupal 6 Template Suggestions

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