Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法将字段视图中的值替换为图像?
即: value = 101,所以显示<img src=/myfiles/101.gif>在 hook / theme_() 函数中而不是使用 .tpl 文件?
<img src=/myfiles/101.gif>
如果您使用的是视图,您可以简单地将字段的设置以类似的方式更改为: