乔客CMS3.0修改方法大全
作者: Webmaster 来源: Linuxdby.com 点击:
日期: 2007-04-12
[收藏 ] [投稿 ]
IE是否经常中毒?推荐您
教你怎么样对你的新闻增加时间,嘿嘿
如果你使用labal.show的话,
<%=cls.label_show("news","list","1" ,"type=new;cnum=6;tnum=34;img=·;target=")%>
然后看看那个红色的数字是几,例如,那么就打开common/template/label/show.xcml
查找
<style>list_1</style>
可以看到
<tr><td>{$img}<a href="{$linkurl}" {$linkstyle}>{$topic}</a>{$spic} {$tim} </td></tr>
增加一下即可,哈哈
首页调用论坛新贴、精华贴、回复贴和热门贴的方法
后台首页模板里修改,在
</td>
<td width=10></td>
<td width=200>
<table border=0 cellspacing=0 cellpadding=0 width="100%">
上面增加
{$=ukong$}
<table border=0 cellspacing=0 cellpadding=0 width="100%">
<tr><td width="49%"></td><td width="1%"></td><td width="49%"></td></tr>
<tr align=center valign=top>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="30" background="{$=dirs("skin")$}bar/61.gif">
<tr>
<td> <img border=0 src="{$=dirs("skin")$}small/ico_article.gif" align=absmiddle> <b style="font-size:14px;">论坛新贴</b><%=cls.class_linkurl("forum",0,"target=;style=h_big bb")%></td>
<td align=right><a class=h_menu href="{$=dirs$}forum/"><img border=0 src="{$=dirs("skin")$}small/more_article.gif"></a></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td class=hh><%=cls.label_show("forum","list","1","classid=(id);type=new ;cnum=5;tnum=40;img=·;target=")%></td></tr>
</table>
</td>
<td></td>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="30" background="{$=dirs("skin")$}bar/61.gif">
<tr>
<td> <img border=0 src="{$=dirs("skin")$}small/ico_article.gif" align=absmiddle> <b style="font-size:14px;">论坛精华</b><%=cls.class_linkurl("forum",0,"target=;style=h_big bb")%></td>
<td align=right><a class=h_menu href="{$=dirs$}forum/"><img border=0 src="{$=dirs("skin")$}small/more_article.gif"></a></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td class=hh><%=cls.label_show("forum","list","1","classid=(id);type=good;cnum=5;tnum=40;img=·;target=")%></td></tr>
</table>
</td>
</tr>
</table>
请注意上面的红色代码部分:
type=new ; '最新贴
type=good ; '精华贴
type=reply ; '回复贴
type=hot ; '热门贴
大家可以打开common/data/channel/sql.xcml中这段代码:
<show_order><![CDATA[t1=and;t2=and;t3=good,top;new=order by t_id desc;reply=order by t_orderid desc;good=t_isgood=1 order by t_orderid desc;top=t_istop>1 order by t_istop desc,t_orderid desc;hot=order by t_counter desc,t_orderid desc]]></show_order>
看看里面的一些标签的设置如good,new,reply,hot
最后要记得更新首页模板!
如果您对本文有任何疑问或者建议,请到讨论区发表您的意见:
>>
论坛入口 <<
上一页 1 2 3 4 5 6 7 8 9 10 11 12 下一页
上一篇:转:利用百度空间来推广企业产品 下一篇:中国最帅的网站站长:BlueFoo(刘克维)
【文章评论 】
【收藏本文 】
【推荐好友 】
【打印本文 】
【我要投稿 】 【论坛讨论 】
相关文章:
·国外五个最值得关注的seo blog博客 ·Google VS 百度 ·SEO服务价格的影响因素 ·SEO报价表-2007seo参考价格表 ·SEO讲座之关键字布局、密度、相关性及转 ·SEO定价及优化策略 ·国外的180个可提交RSS的目录站点 ·SEO入门书籍及个人心得-原创 ·下载类网站TITLE写法对比实验结果 ·怎么样让你的页面被搜索引擎收录
文章评论: (2条)
声明:刊登此文章是为了传递更多信息,文章内容仅供参考,转载请注明出处。