欢迎进入广州凡科互联网科技有限公司网站
全国服务热线
4000-399-000
给未能彻底显示信息的题目再加…,给照片和照片
时间: 2021-02-23 05:23 浏览次数:
改法: 开启文档:includeinc_arcpart_view.php 寻找: CODE://$this-dtp2-SourceString = $oldSource; //$this-dtp2-CTags = $oldCtags; //解决一些不凡...实际效果:给沒有彻底显示信息的题目再加 ,给照片和照片
改法: 开启文档:includeinc_arcpart_view.php 寻找: CODE://$this-dtp2-SourceString = $oldSource; //$this-dtp2-CTags = $oldCtags; //解决一些不凡...

实际效果:给沒有彻底显示信息的题目再加 ,给照片和照片连接再加title

改法:
开启文档:includeinc_arcpart_view.php
寻找:
CODE: //$this- dtp2- SourceString = $oldSource;
//$this- dtp2- CTags = $oldCtags;
//解决一些不凡字段名
$row[ description ] = cn_substr($row[ description ],$infolen);
$row[ id ] = $row[ ID
if($row[ litpic ]== ) $row[ litpic ] = $GLOBALS[ cfg_plus_dir ]. /img/default.gif
$row[ ame ] = $row[ litpic
$row[ arcurl ] = $this- GetArcUrl($row[ id ],$row[ typeid ],$row[ senddate ],$row[ title ],
$row[ ismake ],$row[ arcrank ],$row[ namerule ],$row[ typedir ],$row[ money ]);
$row[ typeurl ] = $this- GetListUrl($row[ typeid ],$row[ typedir ],$row[ isdefault ],$row[ defaultname ],$row[ ispart ],$row[ namerule2 ]);
$row[ info ] = $row[ description
$row[ filename ] = $row[ arcurl
$row[ stime ] = GetDateMK($row[ pubdate ]);
$row[ typelink ] = a href= .$row[ typeurl ]. .$row[ typename ]. /a
$row[ imglink ] = a href= .$row[ filename ]. img src= .$row[ ame ]. border= 0 width= $imgwidth height= $imgheight /a
$row[ image ] = img src= .$row[ ame ]. border= 0 width= $imgwidth height= $imgheight
$row[ title ] = cn_substr($row[ title ],$titlelen);
$row[ textlink ] = a href= .$row[ filename ]. .$row[ title ]. /a
if($row[ color ]!= ) $row[ title ] = font color= .$row[ color ]. .$row[ title ]. /font
if($row[ iscommend ]==5||$row[ iscommend ]==16) $row[ title ] = b .$row[ title ]. /b
$row[ phpurl ] = $GLOBALS[ cfg_plus_dir
$row[ templeturl ] = $GLOBALS[ cfg_templets_dir
//--------------------------- [Copy to clipboard] 
改成
CODE: //$this- dtp2- SourceString = $oldSource;
//$this- dtp2- CTags = $oldCtags;
//解决一些不凡字段名
$row[ description ] = cn_substr($row[ description ],$infolen);
$row[ id ] = $row[ ID
if($row[ litpic ]== ) $row[ litpic ] = $GLOBALS[ cfg_plus_dir ]. /img/default.gif
$row[ ame ] = $row[ litpic
$row[ arcurl ] = $this- GetArcUrl($row[ id ],$row[ typeid ],$row[ senddate ],$row[ title ],$row[ ismake ],$row[ arcrank ],$row[ namerule ],$row[ typedir ],$row[ money ]);
$row[ typeurl ] = $this- GetListUrl($row[ typeid ],$row[ typedir ],$row[ isdefault ],$row[ defaultname ],$row[ ispart ],$row[ namerule2 ]);
$row[ info ] = $row[ description
$row[ filename ] = $row[ arcurl
$row[ stime ] = GetDateMK($row[ pubdate ]);
$row[ typelink ] = a href= .$row[ typeurl ]. .$row[ typename ]. /a
//zouql
$row[ imglink ] = a href= .$row[ filename ]. img alt= .$row[ title ]. src= .$row[ ame ]. /a
$row[ image ] = img title= .$row[ title ]. src= .$row[ ame ].
//zouql题目沒有显示信息彻底后边显示信息的省去号...,为空则不动启本作用
$cfg_list_slh =
if ($cfg_list_slh != ) $slh = strlen($cfg_list_slh);
$row[ title_full ] = $row[ title
$row[ title ] = cn_substr($row[ title ],$titlelen);
$row[ title_2 ] = cn_substr($row[ title_full ],$titlelen-$slh);
if($row[ title ] != $row[ title_full ]) $row[ title ] = $row[ title_2 ].$cfg_list_slh;
$row[ textlink ] = a title= .$row[ title_full ]. href= .$row[ filename ]. .$row[ title ]. /a
if($row[ color ]!= ) $row[ title ] = font color= .$row[ color ]. .$row[ title ]. /font
if($row[ iscommend ]==5||$row[ iscommend ]==16) $row[ title ] = b .$row[ title ]. /b
$row[ phpurl ] = $GLOBALS[ cfg_plus_dir
$row[ templeturl ] = $GLOBALS[ cfg_templets_dir
//--------------------------- [Copy to clipboard] CODE: $row[ imglink ] = a href= .$row[ filename ]. img alt= .$row[ title ]. src= .$row[ ame ]. /a [Copy to clipboard] 
改为
....... 
呵呵呵,应是我彻底是用的CSS操纵的尺寸,因此我给删除了,忘掉再加了呵呵呵!:)
实际上如今拥有一种更强的改法,便是在inc_arclist_view.php中
寻找:
CODE: $row[ title ] = cn_substr($row[ title ],$titlelen); [Copy to clipboard] 
改成:
CODE: $row[ title_full ] = $row[ title
$row[ title ] = cn_substr($row[ title ],$titlelen); [Copy to clipboard] 
那样便可以在ARTLIST中有了个彻底题目[field:title_full/]
模版中那样写便可以了,更为随意
CODE:  a href= [field:filename/] img alt= [field:title_full/] src= [field:ame/] /a


dedecms模版,dedecms公司模版,dedecms新闻资讯模版,高档HTML5响应式模版,dedecms手机上模版,织梦cms模版实例教程,网站模版,网页页面模版,完全免费网页页面模版



Copyright © 广州凡科互联网科技有限公司 版权所有 粤ICP备10235580号
全国服务电话:4000-399-000   传真:021-45545458
公司地址:广州市海珠区工业大道北67号凤凰创意园