1,最近群内好多新来的小伙伴在问默认模板怎么去掉首页的帮助提示信息模板,之前没注意有这个首页模板自己测试了下果不其然,最新苹果cms默认模板首页确实改为了帮助提示信息模板。
如下图所示
2,如果想要去掉首页提示信息模板可以按照下面几种方法解决:
① 最简单有效的方法就是你可以把默认模板下的vod/index.html替换掉index/index.html就可以完美解决。
②下载我们帮你已经提取出来历史版本的index.html文件替换即可,云盘下载地址:https://www.lanzoui.com/i8237uf把你下载下来的压缩包名称为template 上传至网站根目录解压即可。
③复制下面代码,替换掉首页模板文件template/default_pc/html/index/index.html/内容即可(此首页代码是没有升级之前的原首页代码,请放心使用)如果你自己保留有之前的默认模板可以自己替换。
<!doctypehtml>
<html>
<head>
<metacharset="utf-8">
<title>{$maccms.site_name}</title>
<metaname="keywords"content="{$maccms.site_keywords}"/>
<metaname="description"content="{$maccms.site_description}"/>
{includefile="public/include"}
</head>
<body>
{includefile="public/head"}
<!--banner开始-->
<divclass="banner">
<divid="lbsub">
<divclass="deansubdiv"><dl>
{maccms:typeids="1,2,3,4"order="asc"by="sort"id="vo1"key="key1"}
<ddclass="deanddt{$key}">
<h3><ahref="{:mac_url_type($vo1)}">{$vo1.type_name}</a><span></span></h3>
<divclass="deansubpt">
{ifcondition="$key1lt3"}
<divclass="deansubptpp">
<h5>类型</h5>
<divclass="deansubptc">
<ahref="{:mac_url_type($vo1,[],'show')}">全部</a>
{maccms:typeparent="'.$vo1['type_id'].'"order="asc"by="sort"id="vo2"key="key2"}
<ahref="{:mac_url_type($vo2,[],'show')}">{$vo2.type_name}</a>
{/maccms:type}
</div>
</div>
{/if}
<divclass="deansubptpp">
<h5>地区</h5>
<divclass="deansubptc">
<ahref="{:mac_url_type($vo1,[],'show')}">全部</a>
{maccms:foreachname=":explode(',',$vo1.type_extend.area)"id="vo2"key="key2"}
<ahref="{:mac_url_type($vo1,['area'=>$vo2],'show')}">{$vo2}</a>
{/maccms:foreach}
</div>
</div>
<divclass="deansubptpp">
<h5>年代</h5>
<divclass="deansubptc">
<ahref="{:mac_url_type($vo1,[],'show')}">全部</a>
{maccms:foreachname=":explode(',',$vo1.type_extend.year)"id="vo2"key="key2"}
<ahref="{:mac_url_type($vo1,['year'=>$vo2],'show')}">{$vo2}</a>
{/maccms:foreach}
</div>
</div>
<divclass="deansubptpp">
<h5>字母</h5>
<divclass="deansubptc">
<ahref="{:mac_url_type($vo1,[],'show')}">全部</a>
{maccms:foreachname=":explode(',','A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,0-9')"id="vo2"key="key2"}
<ahref="{:mac_url_type($vo1,['letter'=>$vo2],'show')}">{$vo2}</a>
{/maccms:foreach}
</div>
</div>
</div>
</dd>
{/maccms:type}
<ddclass="deanddt5">
{maccms:typeids="5"order="asc"by="sort"}
<h3><ahref="{:mac_url_type($vo,[],'show')}">{$vo.type_name}</a><span></span></h3>
{/maccms:type}
</dd>
<ddclass="deanddt5">
<h3><ahref="{:mac_url('label/rank')}">影视排行榜</a><span></span></h3>
</dd>
</dl></div></div>
<scripttype="text/javascript">
$(".deansubdivdd").each(function(s){
$(this).hover(
function(){
$(".deansubpt").eq(s).show();
},
function(){
$(".deansubpt").eq(s).hide();
})
})
</script>
<ulclass="51buypic">
{maccms:vodnum="5"level="9"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}{$vo.vod_remarks}"><imgsrc="{$vo.vod_pic_slide|mac_url_img}"alt="{$vo.vod_name}{$vo.vod_remarks}"style="background-color:#EEEEEE;"/></a></li>
{/maccms:vod}
</ul>
<aclass="prev"href="javascript:void(0)"></a>
<aclass="next"href="javascript:void(0)"></a>
<divclass="num"><ul></ul></div>
<script>
/*鼠标移过,左右按钮显示*/
$(".banner").hover(function(){
$(this).find(".prev,.next").fadeTo("show",0.5);
},function(){
$(this).find(".prev,.next").hide();
})
/*鼠标移过某个按钮高亮显示*/
$(".prev,.next").hover(function(){
$(this).fadeTo("show",0.8);
},function(){
$(this).fadeTo("show",0.5);
})
$(".banner").slide({titCell:".numul",mainCell:".51buypic",effect:"fold",autoPlay:true,delayTime:700,interTime:5000,autoPage:true});
</script>
</div>
<!--热门推荐-->
<divclass="layoutfn-clear"id="latest-focus">
<divclass="latest-tab-nav">
<ulclass="fn-clear">
<liid="latest1"onmouseover="setTab('latest',1,5);"class="current"><span><iclass="ui-iconmovie"></i>热门电影</span></li>
<liid="latest2"onmouseover="setTab('latest',2,5);"><span><iclass="ui-icontv"></i>热播电视剧</span></li>
<liid="latest3"onmouseover="setTab('latest',3,5);"><span><iclass="ui-icondm"></i>热门综艺</span></li>
<liid="latest4"onmouseover="setTab('latest',4,5);"><span><iclass="ui-iconfun"></i>热门动漫</span></li>
<liid="latest5"onmouseover="setTab('latest',5,5);"><span><iclass="ui-iconwei"></i>热门推荐</span></li>
</ul>
</div>
<divclass="latest-tab-box">
<divid="con_latest_1"class="latest-itemmovie-latest">
<divclass="silder-cnt">
<ulclass="img-list">
{maccms:vodnum="5"type="1"order="desc"by="hits_month"}
<li><aclass="play-img"href="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/>
<labelclass="mask"></label>
<labelclass="text">{$vo.vod_version}</label></a>
<h5><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a></h5>
<pclass="time">主演:{$vo.vod_actor}</p></li>
{/maccms:vod}
</ul>
</div>
<ulclass="txt-list">
{maccms:vodnum="12"type="1"start="6"order="desc"by="hits_month"}
<li><span>{$vo.vod_time|date='m-d',###}.</span><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a>/{$vo.vod_version}</li>
{/maccms:vod}
</ul>
</div>
<divid="con_latest_2"class="latest-itemtv-latestfn-hide">
<divclass="silder-cnt">
<ulclass="img-list">
{maccms:vodnum="5"type="2"order="desc"by="hits_month"}
<li><aclass="play-img"href="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/>
<labelclass="mask"></label>
<labelclass="text">连载{$vo.vod_serial}集/共{$vo.vod_total}集</label></a>
<h5><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a></h5>
<pclass="time">主演:{$vo.vod_actor}</p></li>
{/maccms:vod}
</ul>
</div>
<ulclass="txt-list">
{maccms:vodnum="12"type="2"start="6"order="desc"by="hits_month"}
<li><span>{$vo.vod_time|date='m-d',###}.</span><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a>/连载{$vo.vod_serial}集/共{$vo.vod_total}集</li>
{/maccms:vod}
</ul>
</div>
<divid="con_latest_3"class="latest-itemdm-latestfn-hide">
<divclass="silder-cnt">
<ulclass="img-list">
{maccms:vodnum="5"type="3"order="desc"by="hits_month"}
<li><aclass="play-img"href="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/>
<labelclass="mask"></label>
<labelclass="text">连载{$vo.vod_serial}集/共{$vo.vod_total}集</label></a>
<h5><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a></h5>
<pclass="time">主演:{$vo.vod_actor}</p></li>
{/maccms:vod}
</ul>
</div>
<ulclass="txt-list">
{maccms:vodnum="12"type="3"start="6"order="desc"by="hits_month"}
<li><span>{$vo.vod_time|date='m-d',###}.</span><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a>/连载{$vo.vod_serial}集/共{$vo.vod_total}集</li>
{/maccms:vod}
</ul>
</div>
<divid="con_latest_4"class="latest-itemfun-latestfn-hide">
<divclass="silder-cnt">
<ulclass="img-list">
{maccms:vodnum="5"type="4"order="desc"by="hits_month"}
<li><aclass="play-img"href="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/>
<labelclass="mask"></label>
<labelclass="text">连载{$vo.vod_serial}期</label></a>
<h5><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a></h5>
<pclass="time">主演:{$vo.vod_actor}</p></li>
{/maccms:vod}
</ul>
</div>
<ulclass="txt-list">
{maccms:vodnum="12"type="4"start="6"order="desc"by="hits_month"}
<li><span>{$vo.vod_time|date='m-d',###}.</span><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a>/连载{$vo.vod_serial}期</li>
{/maccms:vod}
</ul>
</div>
<divid="con_latest_5"class="latest-itemwei-latestfn-hide">
<divclass="silder-cnt">
<ulclass="img-list">
{maccms:vodnum="5"type="1"level="1,2,3,4,5,6,7,8,9"order="desc"by="hits_month"}
<li><aclass="play-img"href="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/>
<labelclass="mask"></label>
<labelclass="text">{$vo.vod_version}</label></a>
<h5><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a></h5>
<pclass="time">主演:{$vo.vod_actor}</p></li>
{/maccms:vod}
</ul>
</div>
<ulclass="txt-list">
{maccms:vodnum="12"type="1"start="6"level="1,2,3,4,5,6,7,8,9"order="desc"by="hits_month"}
<li><span>{$vo.vod_time|date='m-d',###}.</span><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}">{$vo.vod_name}</a>/{$vo.vod_version}</li>
{/maccms:vod}
</ul>
</div>
</div>
</div>
<!--最新电影资源-->
<divclass="box">
<divclass="title">
<h2>最新电影</h2>
<dl>
{maccms:typeids="6,7,8,9,10,11,12"order="asc"by="sort"}
<dd><ahref="{:mac_url_type($vo)}">{$vo.type_name}</a></dd>
{/maccms:type}
</dl>
</div>
<divclass="box_con">
<ulclass="img-listdis">
{maccms:vodnum="10"type="6"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>{$vo.vod_version}</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="7"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>{$vo.vod_version}</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="8"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>{$vo.vod_version}</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="9"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>{$vo.vod_version}</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="10"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>{$vo.vod_version}</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="11"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>{$vo.vod_version}</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="12"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>{$vo.vod_version}</i><em></em></a></li>
{/maccms:vod}
</ul>
</div>
</div>
<!--最新电视剧资源-->
<divclass="box">
<divclass="title">
<h2>最新电视剧</h2>
<dl>
{maccms:typeids="13,14,15,16"order="asc"by="sort"}
<dd><ahref="{:mac_url_type($vo)}">{$vo.type_name}</a></dd>
{/maccms:type}
</dl>
</div>
<divclass="box_con">
<ulclass="img-listdis">
{maccms:vodnum="10"type="13"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>连载{$vo.vod_serial}集/共{$vo.vod_total}集</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="14"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>连载{$vo.vod_serial}集/共{$vo.vod_total}集</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="15"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>连载{$vo.vod_serial}集/共{$vo.vod_total}集</i><em></em></a></li>
{/maccms:vod}
</ul>
<ulclass="img-listundis">
{maccms:vodnum="10"type="16"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>连载{$vo.vod_serial}集/共{$vo.vod_total}集</i><em></em></a></li>
{/maccms:vod}
</ul>
</div>
</div>
<!--最新综艺节目资源-->
<divclass="box">
<divclass="title">
<h2class="mar">最新综艺节目</h2>
<dl>
<ddclass="font">不间断为您呈现最轻松、最搞笑、最火爆的综艺节目-尽在龙资源!</dd>
</dl>
</div>
<divclass="box_con">
<ulclass="img-listdis">
{maccms:vodnum="10"type="3"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>连载{$vo.vod_serial}期</i><em></em></a></li>
{/maccms:vod}
</ul>
</div>
</div>
<!--最新动画片资源-->
<divclass="box">
<divclass="title">
<h2class="mar">最新动画片</h2>
<dl>
<ddclass="font">每天为您更新最热门的经典动漫-与你分享!</dd>
</dl>
</div>
<divclass="box_con">
<ulclass="img-listdis">
{maccms:vodnum="10"type="4"order="desc"by="time"}
<li><ahref="{:mac_url_vod_detail($vo)}"title="{$vo.vod_name}"><imgsrc="{:mac_url_img($vo.vod_pic)}"alt="{$vo.vod_name}"/><h2>{$vo.vod_name}</h2><p>{$vo.vod_actor}</p><i>连载{$vo.vod_serial}集/共{$vo.vod_total}集</i><em></em></a></li>
{/maccms:vod}
</ul>
</div>
</div>
<!--最新影视资讯-->
<divclass="box">
<divclass="title">
<h2class="mar">最新影视资讯</h2>
<dl>
<ddclass="font">这里会发布一些关于电影、电视剧、明星八卦、娱乐圈的相关报道</dd>
</dl>
</div>
<divclass="box_newspianyi">
<ul>
{maccms:artnum="20"order="desc"by="time"}
<li><ahref="{:mac_url_art_detail($vo)}"title="{$vo.art_name}">{$vo.art_name|mac_substring=22}</a><span>{$vo.art_time|date='Y-m-d',###}</span></li>
{/maccms:art}
</ul>
</div>
</div>
<!--友情链接-->
<divid="link"class="block">
<divid="title">友情链接LINK</div>
<ul>
<li><ahref="//www.maccms.com"target="_blank">苹果CMS-官网</a></li>
<li><ahref="//bbs.maccms.com"target="_blank">苹果CMS-论坛</a></li>
{maccms:linknum="10"type="all"order="desc"by="id"}
<li><ahref="{$vo.link_url}"target="_blank">{$vo.link_name}</a></li>
{/maccms:link}
<divclass="clear"></div>
</ul>
</div>
<scripttype="text/javascript">
jQuery(".box").slide({titCell:".titledd",mainCell:".box_con",delayTime:0});
</script>
<spanstyle="display:none;"class="mac_timming"data-file=""></span>
{includefile="public/foot"}
</body>
</html>
3,如果你不想用默认模板可以忽视,换掉官方的默认模板即可解决。