xml version='1.0' encoding='UTF-8'configuration system.webServer rewrite rules rule name='rule1' stopProcessing='true' match url='^channel-([0-9]+)-([_0-9a-z-]+).html' / action type='Rewrite' url='channel.asp?id={R:1}amp;page={R:2}'

Posted at 16-05-31 by 席鑫淼 views(217)

5ucms内容页分页标题重复自动增加页码的修改方法: 1、打开:inc/class_content.asp,查找: TPL.Content = ReplaceX(TPL.Content, “\{field:content\}”, TmpContent(i)) ‘ 先替换内容 2、在上面代码的下面增加以下内容: If i=1 then TPL.Content = ReplaceX(TPL.Content,'\{field:title\}',Ra('Title')) else TPL.Content

Posted at 16-05-18 by 席鑫淼 views(108)

5ucms日期分为两种创建和修改的时间 创建:createtime 修改:modifytime 通用调用方式:[list:modifytime $format=mm-dd hh:nn:ss] 还有一种另一个5u版本的时间,这里就不提了,那种版本是改版后的

Posted at 16-04-29 by 席鑫淼 views(81)

!--List:{ $Row=99 $Table=upload $Where=([ext]='jpg' or [ext]='gif' or [ext]='bmp' or [ext]='png') and aid={field:id}}-- li[list:i]a href='[list:dir]'img border='0' src='[list:dir]' //a/li !--List-- [list:i] 数字 [list:dir] 图片链接 调用同一上传文件夹 后台标签生成

Posted at 16-04-27 by 席鑫淼 views(69)

!--Tab1:{ $Row=10 $Table=Channel $Where=[fatherid]=0 and [OutSideLink]=0 $Order=[Order] Desc }--a href='[Tab1:curl]' [Tab1:cname]/a!--count:{ $Row=1 $Sql=Select Count([id]) as cc From [{pre}Content] Where [cid]in ([tab1:childids]) and [Display]=1 }--

Posted at 16-04-09 by 席鑫淼 views(95)

1、inc/class_template.asp文件中,找到 Case 'i' Tagsval = Session(Cacheflag '_Parser_i') 2、在上面找到的这句下面增加以下几句: 'page输出栏目形象图 2010.2.8 csshaier Case 'picture' Tags

Posted at 16-01-13 by 席鑫淼 views(72)

修改文件位置:inc\class_content.asp if instr(content,'img alt=') 0 then Content = Replace(Content,'img alt='''' src=''','img alt=''' Replace(Replace(Ra('title'),''',''),'''','') ''' src=''') end if Content = Replace(Content,'img alt=''','img onload=''siz

Posted at 16-01-06 by 席鑫淼 views(79)

div class=”y”a href=”[List:aurl]“/ah5[List:title $len=32]/h5[List:description $len=270]…/div 字面理解就是:当调用的文章列表数目是2的倍数时返回:

Posted at 16-01-03 by 网络转载 views(55)
Copyright hd30.cn . Some Rights Reserved 冀ICP备19002383号 在线投稿