<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

织梦dedecms默认情况下的会员登录后会直接跳转到会员中心,退出也是一样,但是如果我们想让会员登录后直接跳转到首页,那该如何实现呢?

 

经过我们的研究,已经找到解决办法,下面是详细的修改步骤:

 

首先在member目录中找到index_do.php文件,在里面找到下面这段代码:

 

1 ShowMsg("成功登录,5秒钟后转向系统主页...","index.php",0,2000);

 

将其替换成如下代码:

 

1 ShowMsg("成功登录,5秒钟后转向系统主页...","/",0,2000);

 

然后再找到下面这句代码:

 

1 ShowMsg("成功退出登录!","index.php",0,2000);

 

将其修改成如下:

 

1 ShowMsg("成功退出登录!","/",0,2000);

 

这样,织梦dedecms会员在登录或者退出的时候就会直接跳转到首页了。

0
首页
案例
关于
联系