Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 今日、帖子、会员、查看新帖、潜入点怎么加到门户首页模板中啊

[复制链接]
3DJX 发表于 2012-11-9 22:45:20 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2.5
浏览器: IE6 IE7 IE8 IE9 TT 360 IE10 firefox 其他(帖子中请注明浏览器) 
使用模板: 其他模板(请在回帖中说明模板的名称或者是模板的下载地址)
BUG地址: http://www.3djx.net
如题:今日、帖子、会员、查看新帖、嵌入点怎么加到门户首页模板中啊?
想把论坛的今日、帖子、会员、查看新帖、嵌入点加到门户模板中,不知道是哪些代码?
如图:


求大家赐教!
小弟的站:三维机械模型网
http://www.3djx.net

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
icaction 发表于 2012-11-10 00:23:38 | 显示全部楼层
帮你顶了
回复

使用道具 举报

dt777 发表于 2012-12-11 09:47:12 | 显示全部楼层
<style>#chart { margin: 10px 0 5px 0; }
        .chart { padding-left: 22px; background: url(/static/image/common/chart.png) no-repeat 0 50%; color: #999; }
                .chart em { color: #444; }
</style>
[loop]<div id="chart" class="bm bw0 cl">
                        <p class="chart z">今日: <em>{bbsnewposts}</em><span class="pipe">|</span>昨日: <em>{bbslastposts}</em><span class="pipe">|</span>帖子: <em>{posts}</em><span class="pipe">|</span>会员: <em>{members}</em><span class="pipe">|</span>在线人数: <em>{onlinemembers}</em></p>
                        <div class="y">
                                <a  title="我的帖子" class="xi2">我的帖子</a><span class="pipe">|</span><a  title="查看新帖" class="xi2">查看新帖</a><!--{/if}-->
                        </div>
                </div>
[/loop]

在后台,门户,模块模版 ,新建统计模块
模块管理 然后在模板中输入此内容

最后把调用代码放到你的门户页面上
回复

使用道具 举报

 楼主| 3DJX 发表于 2012-12-12 11:43:00 | 显示全部楼层
dt777 发表于 2012-12-11 09:47
#chart { margin: 10px 0 5px 0; }
        .chart { padding-left: 22px; background: url(/static/image/common ...

谢谢,我试试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-3-7 03:19 , Processed in 0.025153 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表