怎样删除dedecms默认模板首页投票调查
作者:admin 时间:2019-12-24 阅读数:65人
最近用dedecms默认模板做的站,觉的首页的投票调查没什么用,所以就想删除,但在后台模块管理中卸载、删除,之后生成网页,投票模块还是存在,后来在网上查了一下,发现正确的流程是还需要删除模版中的投票模块的代码,流程如下:
1、先去dedecms后台-模块-模块管理-投票模块卸载-然后再删除
2、之后dedecms后台-模板-默认模板管理-index.html-删除如下代码
<div class="vote mt1">
<dl class="tbox light">
<dt class='light'><strong>投票调查</strong></dt>
<form name='voteform' method='post' action='{dede:global.cfg_cmsurl/}/plus/vote.php' target='_blank'>
<input type='hidden' name='dopost' value='send' />
<input type='hidden' name='aid' value='1' />
<input type='hidden' name='ismore' value='0' />
<dd class='light'> <strong>你是从哪儿得知本站的?</strong>
<div class="fb">
<input type="radio" name='voteitem' value='1' />
朋友介绍</div>
<div class="fb">
<input type="radio" name='voteitem' value='2' />
门户网站的搜索引擎</div>
<div class="fb">
<input type="radio" name='voteitem' value='3' />
google或百度引擎</div>
<div class="fb">
<input type="radio" name='voteitem' value='4' />
别的网站上的链接</div>
<div class="fb">
<input type="radio" name='voteitem' value='5' />
其他途径</div>
<div class="submit">
<button type="submit" class="btn-1">投票</button>
<a href="plus/vote.php?dopost=view&aid=1">查看结果</a></div>
</dd>
</form>
</dl>
</div>
<!-- /vote -->
3、生成网站,投票模块就没有了。
1、先去dedecms后台-模块-模块管理-投票模块卸载-然后再删除
2、之后dedecms后台-模板-默认模板管理-index.html-删除如下代码
<div class="vote mt1">
<dl class="tbox light">
<dt class='light'><strong>投票调查</strong></dt>
<form name='voteform' method='post' action='{dede:global.cfg_cmsurl/}/plus/vote.php' target='_blank'>
<input type='hidden' name='dopost' value='send' />
<input type='hidden' name='aid' value='1' />
<input type='hidden' name='ismore' value='0' />
<dd class='light'> <strong>你是从哪儿得知本站的?</strong>
<div class="fb">
<input type="radio" name='voteitem' value='1' />
朋友介绍</div>
<div class="fb">
<input type="radio" name='voteitem' value='2' />
门户网站的搜索引擎</div>
<div class="fb">
<input type="radio" name='voteitem' value='3' />
google或百度引擎</div>
<div class="fb">
<input type="radio" name='voteitem' value='4' />
别的网站上的链接</div>
<div class="fb">
<input type="radio" name='voteitem' value='5' />
其他途径</div>
<div class="submit">
<button type="submit" class="btn-1">投票</button>
<a href="plus/vote.php?dopost=view&aid=1">查看结果</a></div>
</dd>
</form>
</dl>
</div>
<!-- /vote -->
3、生成网站,投票模块就没有了。
声明
源码下载不顺利,比如源码在百度网盘的有时会被无故取消等,请联系QQ:46667551
本站大部分下载资源收集于网络,但除特别说明之外,基本全部亲自测试可用!
但由于某些源码的更新迭代,比如微信小程序官方接口的变动等原因,
如时间过长,可能会造成本可以使用的代码出现问题,下载前请斟酌!
本站资源仅供学习和交流使用,版权归原作者所有,请在下载后24小时之内自觉删除。
若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,使用者自行承担,概与本站无关。
原文链接:https://www.dnwfb.com/363.html,转载请注明出处
下一篇:怎样解决织梦模块管理列表为空白