Drupal:如何更改页面上项目的分类标题?
我有一个菜单项,例如 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
自定义页面的最佳选择是使用视图模块并激活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
看看 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.