dedecms5.7调用会员登录 显示登陆状态 一下代码就是 调用会员登陆状态,退出,显示注册和登陆 {dede:php} require_once(DEDEMEMBER./config.php); $uid = $cfg_ml-M_LoginID; if(!$uid){ echo diva class=login-button href=/member/login.php登录/a |a class=join-button href=/...
织梦默认编辑器 按下回车生成br标签改为生成p标签 找到文件\include\ckeditor\config.js 把 config.enterMode = CKEDITOR. ENTER_BR;config .shiftEnterMode = CKEDITOR.ENTER_P; 改为 config.enterMode = CKEDITOR. ENTER_P;config .shiftEnterMode = CKEDITOR.ENTER_BP;...
DEDE织梦模板默认编辑器 按下回车生成br标签改为生成p标签 找到文件 includeckeditorconfig.js 把 config.enterMode = CKEDITOR.ENTER_BR; config.shiftEnterMode = CKEDITOR.ENTER_P; 改为 config.enterMode = CKEDITOR.ENTER_P; config.shiftEnterMode = CKEDITOR.ENTER_BP;...
dedecms后台添加新变量删除的功能 织梦dedecms后台新建 sys_check.php 。 ?phprequire_once(dirname(__FILE__)./config.php);$row = $dsql-GetOne(SELECT * FROM `dede_sysconfig` WHERE aid=$id);$info=$row[info];if( $action == del ){ $id = explode(`, $id); foreach ($id as $var) { $query...