Drupal:如何更改页面上项目的分类标题?

发布于 2024-07-13 14:09:16 字数 239 浏览 10 评论 0原文

我有一个菜单项,例如 http://localhost/drupal/?q=category/articles/php

这是应该输出所有关于 PHP 的故事, 但结果页面标题(带有术语名称(PHP))看起来不太好。 如何删除标题或更改其 CSS 样式?

I have a menu item like
http://localhost/drupal/?q=category/articles/php

It's supposed to output all stories about PHP,
But in resulting page header (with term name (PHP) ) doesn't look very well.
How can I remove header or change its CSS style?

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

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

发布评论

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

评论(2

违心° 2024-07-20 14:09:16

自定义页面的最佳选择是使用视图模块并激活taxonomy_term 视图。 然后,您可以添加到标题字段,甚至可以为该视图创建一个新模板。

Drupal 手册有很多关于主题和构建视图的优质资源:
http://drupal.org/node/352970

Your best bet for customizing the page is to use the Views Module and activate the taxonomy_term view. Then, you can add to the header field or even create a new template just for that view.

The Drupal Handbook has a lot of great resources for theming and building views:
http://drupal.org/node/352970

拧巴小姐 2024-07-20 14:09:16

看看 Drupal 的主题指南:
http://drupal.org/theme-guide

您需要了解主题才能编辑 css 或 html。

Take a look at Drupal's theming guide:
http://drupal.org/theme-guide

You'll need to understand theming to edit css or html.

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