<!--{hook/global_footerlink}-->代码应添加在哪个位置?
我看见不少的人在问<!--{hook/global_footerlink}-->添加在哪个位置的,自己搞会了,就发一个小贴的,希望大家支持!
默认模板在"\template\default\search\footer.htm"
代码默认是这样的:
<strong><a href="$_G['setting']['siteurl']" target="_blank">$_G['setting']['sitename']</a></strong>
<!--{if $_G['setting']['icp']}-->( <a target="_blank">$_G['setting']['icp']</a> )<!--{/if}-->
<!--{hook/global_footerlink}-->
<!--{if $_G['setting']['statcode']}--><span class="pipe">| $_G['setting']['statcode']</span><!--{/if}-->
<!--{eval updatesession();}-->
</div>
<!--{if $_G && !isset($_G['cookie']['checkpm'])}-->
<script language="javascript" type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G"></script>
<!--{/if}-->
<!--{eval output();}-->
</body>
</html>
有一些模板风格的设计人员将代码去掉了,导致一些插件无法使用,你可以找到你模板下的“footer.htm”这个文件,用Dreamweaver等相关工具进行编辑,将上面那红包的代码放在适当的位置就可以了!“<!--{hook/global_footerlink}-->”
不过需要你测试几次,不同的模放在的位置不一样的!
|