-
织梦技巧
$row[showmod] = isset($row[showmod])? $row[showmod] : 0;if ($row[showmod] == 1){ $pv-SaveToHtml(dirname(__FILE__)./index.html); include(dirname(__FILE__)./index.html); exit();} else { $pv-Display(); exit();}变为$pv-SetTemplet($cfg_basedir . $cfg_tem...
2021-11-03 194

-
织梦技巧
没整之前 整完之后 第一种实现不二法门,jquery script type = text/javascript $( function () { $( .show-article img ).each( function ( i ) { if (! this .parentNode.href) { $( this ).wrap( a href= + this .src+ target=_blank/a ); } }); }); / script 注意: 1,前提是你当前页面有jquery库 2,你的文档情节...
2021-09-02 3692

-
织梦技巧
dede:loop标签试用其他表数据翻译时。表字段存在大小写引起的一筹莫展试用问题 解决不二法门 打开 /include/dedetag.class.php 找到 strtolower( $this -TagName); 1 有2处 ,都变为 $this -TagName; 继续找到 var $CharToLow= TRUE ; 有2处 ,都变为 var $CharToLow= FALSE ; 继续找到 $this -CharToLow = TRUE ; 变为 $this -CharToLow = FALSE ; 完...
2021-07-12 2248
-
织梦技巧
织梦搜索实现标题完全精准搜索,就是搜索文档标题必须划一才有搜索结果 织梦e星体育 1,在 /plus/ 在建一个 so.php 实木文件柜厂家 ?php require_once (dirname( __FILE__ ) . /../include/common.inc.php ); require_once DEDEIN...
2021-07-03 3249

-
织梦技巧
实现效果 织梦情节模型自界说字段设置一个android产生随机数,如果有其他需求的也可以参考这种方式来自界说的自己的字段需要 实现e星体育 后台-核心期刊目录2015-情节模型,找到你的自界说字段,在【自界说表单HTML】里填入 table width = 100% border = 0 cellspacing = 0 cellpadding = 0 style = margin-bottom:3px; tr td width = 90 class = bline height = 24 ~name~: / td td class = bli...
2021-07-03 833
-
织梦技巧
dedecms织梦 后台添加文章时,缩略图有地方上传和站内选择,纵令你开启了火印,地方上传按钮上传的图片还是没有自动加火印的,而站内选择默认会帮你勾选了火印。 这就需要我们手动来给它也开启一度。 1,打开 /dede/archives_do.php dede 为你的后台目录, 找到 AdminUpload( litpic , imagelit , 0 , false ); 变为 AdminUpload( litpic , imagelit , 0 , true ); 2,打开 /include/helpe...
2021-04-20 4810

-
织梦技巧
那是因为 模块管理 是优先从织梦官方获取模块列表,当官方启动器出问题那就空白。 我们可以变为从自己地方智取 打开 dede/module_main.php 找到,大概在91行 $modules_remote = $dm-GetModuleUrlList($moduletype,$mdurl); 除去或者注释掉它,大概在95行 $ modules = array_merge( $modules , $modules_remote ); 除去 再回后台打开 模块管理 ,标榜正常啦...
2021-04-12 3693

-
织梦技巧
打开域名让它不自动添加标榜后身的index.html操作步骤 1,修改默认文档倒序为 index.html index.php index.htm 里头最重要的是 index.html 放第一位 阿里云免费虚拟主机 百度云免费虚拟主机 宝塔面板灯老化架 2,清除航天器临时实木文件柜厂家(不会清除去百度一度e星体育) 3,关闭航天器,重新打开航天器 4。手动输入域名,必须要手动输入。一个个字母或者数字输入。...
2021-04-06 537

-
织梦技巧
解决不二法门 打开 /dede/file_class.php 找到,大概在161行 else if ( substr ($filename, -strlen($fileexp))===$fileexp) 变为 else if (preg_match( /\.( .$fileexp. )$/ , $filename)) 完成。重新选择压缩包提交就可以了 自动获取压缩包里图片的名称 如果想要让每局图片都自动获取压缩包里图片的名称的话,你可以这样做 打开 /dede/album_add.php 找到,大概在201行...
2021-03-27 601

-
织梦技巧
百度地图api默认是动用在http协议下,今朝良多58同城招聘网站都动用了https证书,那百度地图试用时也要改一度api的协议 百度地图api引用变为 script type = text/javascript src = https://api.map.baidu.com/api?v=3.0ak=您的密钥s=1 =1 是必须要有的 秘钥需要自己到百度api官网报名一个http://lbsyun.baidu.com/...
2021-03-24 484