商城样式中商品图片加上连接_风讯Cms教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!

打开\Foosun\Admin\Refresh\Mall_Functiom.asp

找到:大约780行四周

if Not IsNull(AlreadyProductObj("Products_sPicture")) then
StyleContent = Replace(StyleContent,"{Mall_Products_sPicture}","<img border=""0"" width=""" & PicwidthStr & """ height=""" & PicHeightStr & """ src=""" & TempSysRootDir & AlreadyProductObj("Products_sPicture") & """>")
else
StyleContent = Replace(StyleContent,"{Mall_Products_sPicture}","")
end if

改为:

if Not IsNull(AlreadyProductObj("Products_sPicture")) then
StyleContent = Replace(StyleContent,"{Mall_Products_sPicture}","<a target=""_blank"" href=""" & GetOneProductLinkURL(AlreadyProductObj("ProductID")) & """ " & OpenTypeStr & "><img border=""0"" width=""" & PicwidthStr & """ height=""" & PicHeightStr & """ src=""" & TempSysRootDir & AlreadyProductObj("Products_sPicture") & """> </a>")
else
StyleContent = Replace(StyleContent,"{Mall_Products_sPicture}","")
end if

查看更多 风讯cms教程  风讯cms模板

来源:模板无忧//所属分类:风讯Cms教程/更新时间:2006-06-19
相关风讯Cms教程