开发者

Way to replace field in views to image by hook instead of using template

Is there a way to replace the value in view of a field to image?

i.e: value = 101, so display <img src=/myf开发者_高级运维iles/101.gif> in hook / theme_() function instead of using a .tpl file?


If you are using Views you can simply change the settings of the field in a similar fashion to:

Way to replace field in views to image by hook instead of using template

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜