快捷!方便!欢迎您用QQ登录华夏吴氏网 会员区*发表文章   设为首页 繁体中文 用户登录 我要投稿 公众号1:worldwucom 公众号2:cwu2015

 | 首页 | 资讯 | 图库 | 社区 | 祝福 | 文化 | 风水 | 企业 | 书籍 | 网建 | 纪念馆 | 
查看所有留言 签写新的留言 | 源流寻根 | 网友留言 | 网建平台 | 切换到留言本方式
  主题: 修改CMS1.2新闻、下载等模块的风格(cms1.2修改系列) :2004/12/14 21:31:52
" if mvar<>"" and var_null(mvar)<>"" then temp1=temp1&vbcrlf&"" temp1=temp1&vbcrlf&"


用户
吴卫东
" & _ vbcrlf&"
修改CMS1.2新闻、下载等模块的风格(已修订) 本人提供两种修改方法。 第一种,保留标题后的more等图标。打开 include/con_news.asp 找到function news_bar_top(tvar,tt,ttype,tmore)这一段, 查找 background= 将所有 background= 后面的 '"&joekoe_cms.web_dir_skin&"main/"xxx"gif' 都改为 '"&joekoe_cms.web_dir_skin&"bg_td.gif' 第二种,与文章显示风格完全一样(推荐)。 1、还是在function news_bar_top(tvar,tt,ttype,tmore)这一段, 找到 temp1=vbcrlf&"" & _ vbcrlf&"" & _ vbcrlf&" " & _ vbcrlf&" " & _ vbcrlf&" " & _ vbcrlf&"
" & _ vbcrlf&"
"&img_skin(web_img_m&ttype)&""&tvar&""&more_var&"
" & _ vbcrlf&"
" if tt=1 then temp1=temp1&vbcrlf&" " news_bar_top=temp1 end function 直接用下面的代码替换 temp1=temp1&vbcrlf&"
" & _ vbcrlf&"" & _ vbcrlf&"" & _ vbcrlf&"
"&img_skin(web_img_m)&" "&tvar&"
" if tt=1 then temp1=temp1&vbcrlf&" " news_bar_top=temp1 end function 2、再找到 function news_bar_end(mvar,tt) dim temp1 if tt=1 then temp1=temp1&vbcrlf&"
" temp1=temp1&vbcrlf&"
" news_bar_end=temp1&ukong end function 这一段,用下面的代码替换 function news_bar_end(mvar,tt) dim temp1 if tt=1 then temp1=temp1&vbcrlf&"
" temp1=temp1&vbcrlf&"
"&mvar&"
" news_bar_end=temp1&ukong end function 3、最后,打开con_news_main.asp,找到 response.write vbcrlf&news_bar_end("",1) 添加链接,将这一句修改为 response.write vbcrlf&news_bar_end("浏览更多…",1) 下载和商城的改法类似,看自己喜欢。
 返回列表
1 条贴子   首页 | 上一页 | 1 | 下一页 | 尾页 6条贴子/页  转到第

回 复 留 言
姓  名:
性  别:
邮  箱:
留言主题:


留言内容:
是否隐藏: 正常 隐藏 * 选择隐藏,只有管理员可见。
验 证 码: *

 

 

| 关于我们 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 | 管理登录 | 服务专用QQ :116539779 点击这里给我发消息
版权所有 Copyright © 1997-2009 China Mrs.Wu, All Rights Reserved 备粤ICP备13015218号 华夏吴氏QQ群:85987924