drupal 中视图中标题的图标

发布于 2024-12-09 19:07:26 字数 310 浏览 4 评论 0原文

我使用 drupal 作为我的网站的脚本 我创建一个页面来列出内容类型名称 Math 的所有节点,该页面是使用 simpleview 创建的,我编辑了该页面以显示节点标题用户名和用户图片,唯一的问题是我想向每个节点标题添加图标该图标将与论坛中的图标相同 带星号的文件夹,如 drupal 高级论坛中的示例

http://drupal.org/files/af-forums.png

是否可能,如果可能的话我该怎么做,

谢谢

I'm using drupal as script for my web site
i creat a page to list all node of a content type name Math , the page was created with simpleview and i edited the page to show node title username and picture of the user the only problem is that i want to add icon to each node title the icon will be the same like for exemple the icon in the forum the folder with the star like the exemple in the drupal advanced forum

http://drupal.org/files/af-forums.png

is it possile and if it possible how can i do it

thank you

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

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

发布评论

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

评论(1

太傻旳人生 2024-12-16 19:07:26

您可以使用 http://drupal.org/project/views_customfield 为每行创建视图中的字段取决于你的需要。在此字段中,只需指定 标记。

you can use http://drupal.org/project/views_customfield to create a field in view for each row depend on your need. In this field just specify <img href="your file path"/> tag.

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