• 欢迎访问苗景云的博客

使用div嵌套,在IE中,子层可以撑高父层,但是Firefox以及Chrome中却不行,可以尝试在父层div的css中加入

overflow:auto;_zoom:1;

这样就可以解决Firefox及Chrome中div不撑高的问题

发布:苗景云 | 查看全文 | 浏览(1613) | 分类:IT技术&设计 | 评论(0) | 2013年04月30日

我们在使用科讯CMS的系统函数文章列表或终极分页列表时,如果循环体中包含{@photourl},则文章列表只显示有缩略图的文章,那么如果让科讯CMS文章列表显示无图文章呢? 解决方法如下:

打开KS_Cls/Kesion.Label.FunctionCls.asp,找到下面的代码:

If PrintType>=2 Then  FieldStr=FieldStr & ",I.fulltitle as fulltitles,I.PhotoUrl,I.Intro" : If PrintType=2 or (instr(LabelStyle,"{@photourl}")>0 and PrintType>2) Then Param = Param & " And I.PicNews=1"

...
发布:苗景云 | 查看全文 | 浏览(1587) | 分类:IT技术&设计 | 评论(0) | 2013年04月30日

首先在科讯CMS后台创建SQL函数标签

标签名称:  栏目简介

查询语句: select id,foldername,mid(classbasicinfo,instr(classbasicinfo,"||||")+4) as s,mid(s,1,instr(s,"||||")-1) as 栏目介绍 from ks_class where classid={$Param(0)} order by folderorder

...
发布:苗景云 | 查看全文 | 浏览(1607) | 分类:IT技术&设计 | 评论(0) | 2013年04月30日
« 之后的文章苗景云的博客
<< 向左走,向右走 >>
更早的文章 »