<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

织梦dedecms留言板提交错误自动返回方法

时间:2020-12-15

默认情况下,如果我们使用dede模板中的留言板时,如果留言信息不正确或者输入内容为空时,dedecms系统可能会返回一个空白页。

这样的方式并不利于用户体验

解决这个问题实际上非常简单。

方法为:

找到网站根目录plus文件夹下的guestbook.php


搜索代码

ShowMsg("验证码不正确!","");


将此代码修改为

ShowMsg("验证码不正确!","-1");

当你再输入错误时,就可以看到屏幕上有提示错误的页面,而且还可以返回前面一页。
0
首页
案例
关于
联系