在channel标签中使用currentstyle时,如果有新添加的变量比如给栏目添加了typeimg栏目图片字段,直接使用currentstyle中<img href=’~typeimg~’>图片是读取不出来的,解决办法:
在include/taglib/channel.lib.php文件中,找到大概140行,在下面添加
$linkOkstr =str_replace("~typeimg~",$row['typeimg'],$linkOkstr);
这样就可以读取出来了。
在channel标签中使用currentstyle时,如果有新添加的变量比如给栏目添加了typeimg栏目图片字段,直接使用currentstyle中<img href=’~typeimg~’>图片是读取不出来的,解决办法:
在include/taglib/channel.lib.php文件中,找到大概140行,在下面添加
$linkOkstr =str_replace("~typeimg~",$row['typeimg'],$linkOkstr);
这样就可以读取出来了。