Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
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