Discuz论坛如何实现不同页面显示不同的Logo
Discuz论坛实现广场页面LOGO,家园页面LOGO,群组页面LOGO,门户页面LOGO,漫游页面LOGO,注册,登陆页面的不同LOGO!首先修改文件: 在template/你的模板目录/common/header.htm 找到<h2><a href="index.php" title="$_G['setting']['bbname']">{BOARDLOGO}</a></h2>更改为:<h2><a href="index.php" title="$_G['setting']['bbname']"><img src="{if $_G == forum}/static/image/common/forum_logo.gif{elseif $_G == home}/static/image/common/home_logo.gif{elseif $_G == group}/static/image/common/group_logo.gif{elseif $_G == portal}/static/image/common/portal_logo.gif{elseif $_G == userapp}/static/image/common/userapp_logo.gif{elseif $_G == member}/static/image/common/member_logo.gif{/if}" alt="$_G['setting']['bbname']" border="0" /></a></h2>/static/image/common/forum_logo.gif(广场页面LOGO)/static/image/common/home_logo.gif (家园页面LOGO)
这个是广告编辑地方
/static/image/common/group_logo.gif (群组页面LOGO)/static/image/common/portal_logo.gif(门户页面LOGO)/static/image/common/userapp_logo.gif(漫游页面LOGO)/static/image/common/member_logo.gif(注册,登陆页面LOGO)你可以做6种款式的LOGO或者6种颜色的LOGO,我是做的6种不同颜色的LOGO,和2级导航条颜色一样,这样就美观多了!
页:
[1]