商城样式中商品图片加上连接 - 风讯CMS - 爱建站

,,,,CMS教程,模板无忧,建站教程,CMS教程,风讯Cms教程,

SEO SEO

首页  >   风讯CMS > 商城样式中商品图片加上连接  >  正文

商城样式中商品图片加上连接

2018-09-27 07:32:56 向站长提问 编辑: admin 阅读:

 

打开 Foosun Admin Refresh Mall_Functiom asp 找到:大约780行四周 if Not IsNull(AlreadyProductObj( "Products_sPicture ")) thenStyleContent = Replace(StyleContent, "{Mall_Products_sPicture} ", "<img border= " "0 " " width= " " " & PicwidthStr & " " " height= " " " & PicHeightStr & " " " src= " " " & TempSysRootDir & AlreadyProductObj( "Products_sPicture ") & " " "> ")elseStyleContent = Replace(StyleContent, "{Mall_Products_sPicture} ", " ")end if 改为: if Not IsNull(AlreadyProductObj( "Products_sPicture ")) thenStyleContent = 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> ")elseStyleContent = Replace(StyleContent, "{Mall_Products_sPicture} ", " ")end if 查看更多 风讯cms教程  风讯cms模板 来源:模板无忧 所属分类:风讯Cms教程 更新时间:2006-06-19 [收藏][报错][返回列表] 相关风讯Cms教程: 最简单的栏目切换方法(样式系列之栏目切换篇2) 我也放个栏目切换代码,简简单单的


打开\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模板


商城样式中商品图片加上连接
http://www.yuedudg.cn/article/15105031.html

 

友情链接
cms综合网 ecshop经验网 织梦之家
discuz经验网 phpcms之家 帝国cms常识
wp之家 zblog之家


Tags: CMS教程 模板无忧 建站教程 CMS教程 风讯Cms教程


手机浏览本文
商城样式中商品图片加上连接

商城样式中商品图片加上连接

站内推荐

网站分类

标签列表

关于我们
文章内容来源互联网仅供参考,如果还有疑问请联系我们!我们将竭力帮您解决您的问题
联系我们:

QQ: 397423577 

email:397423577@qq.com

微信:ganenboy