文档库 最新最全的文档下载
当前位置:文档库 › 织梦仿站及使用终极手册

织梦仿站及使用终极手册

织梦仿站及使用终极手册
织梦仿站及使用终极手册

[转载]织梦仿站及使用终极手册(2010-11-07 15:55:00)转载原文

标签:转载分类:网摘

原文地址:织梦仿站及使用终极手册作者:魚絲m

[1]typeid='' 表示栏目ID,在列表模板和档案模板中一般不需要指定,在封面模板中允许用","分开表示多个栏目

[2]row='' 表示返回文档列表总数

[3] col='' 表示分多少列显示(默认为单列);

[4] titlelen='' 表示标题长度

[5] infolen='' 表示内容简介长度

[6] imgwidth='' 表示缩略图宽度

[7] imgheight='' 表示缩略图高度

[8] type='' 表示档案类型,其中空值、不使用这个属性或type='all'时为普通文档

§type='commend'时,表示推荐文档,等同于{dede:coolart}{/dede:coolart} §type='image'时,表示必须含有缩略图片的文档,等同于{dede:imglist}{/dede:imglist}

{d ede:imginfolist}{/dede:imginfolist}

§type='spec'时,表示专题,等同于标记{dede:specart}{/dede:specart}

以上属性值可以联合使用,如:type='commend image' 表示推荐的图片文档

[9] orderby='' 表示排序方式,默认值是senddate 按发布时间排列。

§ orderby='hot'或orderby='click' 表示按点击数排列

§ orderby='pubdate'按出版时间排列(即是前台允许更改的时间值)"

§ orderby='sortrank' 按文章的新排序级别排序(如果你想使用置顶文章则使用这个属性)

§ orderby='id'按文章ID排序

§ orderby='postnum'按文章评论次数排序)

§ orderby='rank'随机获得指定条件的文档列表

[10] orderway='' 值为desc 或asc ,指定排序方式是降序还是顺向排序,默认为降序。

[11] keyword='' 表示含有指定关键字的文档列表,多个关键字用","分开

[12] channelid='' 表示特定的频道模型ID,内置的频道:专题(-1)、文章(1)、图集(2)、Flash(4)、软件(3)

[13] limit='起始,结束' 表示限定的记录范围,row属性必须等于"结束- 起始",mysql的limit语句是由0起始的,如

“limit 0,5”表示的是取前五笔记录,“limit 5,5”表示由第五笔记录起,取下五笔记录,使用了本属性后,row属性将无效。

[14] att='数值' 表示自定义属性值

[15] subday='天数' 表示在多少天以内的文档,通常用于获取指定天数的热门文档、推荐文档、热门评论文档等

[16] partsort='排列位数' 表示自动获得父栏目的所有子数中排列在第几位的栏目ID,

标记为{dede:autolist}{/dede:autolist} 时,使用本属性才有效。

-----------------------------------------------------------------------------

以下放在调用位置相应

.

用户密码

验证

注册帐号

----------------------------------------------------------------------------------------------- 常用标签:

[field:arcurl /] 文章地址

2.

[field:title /] 文章标题

常用于首页、栏目、文章列表页

3.

[field:imglink/]

显示缩略图及链接地址

4

[field:info/] 文章简介

5

[field:description/] 文章简介多用于文章列表页

6.

[field:textlink/] 等价于[field:title /]

7.

[field:pubdate function=strftime('%m-%d',@me)/] 显示文章发布时间,形式为月-日例如:03-07

8.

[field:pubdate function="GetDateTimeMK(@me)"/] 详细时间,形式为年-月-日时-分-秒

9.

[field:filename /]等价于[field:arcurl /] 常用于栏目、文章列表页

10.

[field:typelink /] 栏目地址.

11

[field:typename /] 栏目名称

12

[field:postnum/] 评论条数

13.[field:source/] 来源

14.

[field:writer/] 作者

j15.

[field:litpic function="CkLitImageView(@me,120)"/] 提取文章缩略图

16.

[field:click/] 文章点击次数

17.

[field:phpurl/]/stow.php?arcID=[field:id/] 相应文章加入收藏路径常用于栏目、文章列表页2 }

18.

[field:phpurl/]/recommend.php?arcID=[field:id/] 推荐文章路径常用于栏目、文章列表页)

文章正文页常用调用标签::

19.

{dede:field name="title"/} 文章标题多用于正文页

20.

{dede:field name='pubdate' function='GetDateMk(@me)'/}显示文章发布时间多用正文页

21.

{dede:field name='phpurl'/}/stow.php?arcID={dede:field name=ID/}相应文章加入收藏路径多用于正文

22.

{dede:field name='phpurl'/}/recommend.php?arcID={dede:field name=ID/}推荐文章路径多用于正文

23.

{dede:field name='source'/} 来源: }

24

{dede:field name='writer'/} 作者

25.

{{dede:field name='postnum'/}评论条数

26.

{dede:field name='phpurl'/}/feedback.php?arcID={dede:field name=ID/} 相应文章所有评论链接

27.

{dede:field name='body'/} 文章内容

28.

4.文章正文评论调用

<>

<>

type=hidden value="submit" name=itemid>

5.调用收藏夹,添加文章到各大网站收藏夹

color=#58c600>藏

color=#c00012>网

color=#327f00>:

href='javascript:u=location.href;t=document.title;c%20=%20""%20+%20(windo

w.getSelection%20? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);var url="https://www.wendangku.net/doc/3817728939.html,/do/add?it="+encodeURIComponent(t)+"&iu="+encodeU RIComponent(u)+"&dc="+encodeURIComponent(c)+"&fr=ien#nw=1";window.open (url,"_blank","scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizabl e=yes"); void 0'>

alt=Baidu搜藏src="/wm_img/baidu.gif" border=0>

href="javascript:window.open('https://www.wendangku.net/doc/3817728939.html,/post?title='+encodeURICo mponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'& jumpback=2&noui=1','favit','width=960,height=600,left=50,toolbar=no,menubar=no,l ocation=no,scrollbars=yes,status=yes,resizable=yes');void(0)">

title=QQ书签alt=QQ书签src="/wm_img/qq.gif" border=0>

href="javascript:location.href='https://www.wendangku.net/doc/3817728939.html,/bookmarks/mark?op=add &bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(do cument.title)">

alt=Google书签src="/wm_img/google.gif" border=0>

href="javascript:location.href='https://www.wendangku.net/doc/3817728939.html,/post?&url='+encodeURICompo nent(location.href)+'&title='+encodeURIComponent(document.title)">

title=https://www.wendangku.net/doc/3817728939.html, alt=https://www.wendangku.net/doc/3817728939.html, src="/wm_img/delicious.gif" :

border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection .createRange().text:'')d.getSelection?d.getSelection():'');void(keyit=window.open('http ://https://www.wendangku.net/doc/3817728939.html,/fav/storeIt.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c=' +escape(t)+'&img=https://www.wendangku.net/doc/3817728939.html,/blog/logo.gif','keyit','scrollbars=no,width =475,height=575,status=no,resizable=yes'));keyit.focus();">

alt=POCO网摘src="/wm_img/poco.gif" border=0>

alt=Y ahoo书签src="/wm_img/yahoo.gif" border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection .createRange().text:'')d.getSelection?d.getSelection():'');void(vivi=window.open('http:/ /https://www.wendangku.net/doc/3817728939.html,/collect/icollect.php?pid=28&title='+escape(d.title)+'&url='+escape( d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=7 5,top=20,status=no,resizable=yes'));vivi.focus();">

alt=新浪ViVi src="/wm_img/vivi.gif" border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection .createRange().text:'')d.getSelection?d.getSelection():'');void(keyit=window.open('http ://https://www.wendangku.net/doc/3817728939.html,/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'& c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,r esizable=yes'));keyit.focus();">

alt=365Key网摘src="/wm_img/365key.gif" border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.se lection .createRange().text:'')d.getSelection?d.getSelection():'');void(yesky=window.open('htt p://https://www.wendangku.net/doc/3817728939.html,/dp.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+e scape(t)+'&st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status= no,resizable=yes'));yesky.focus();">天极网摘src="/wm_img/yesky.gif"

href="javascript:t=document.title;u=location.href;e=document.selection?(docum ent.selection.type!='None'?document.selection.createRange().text:'')document.getSele ction?document.getSelection():'');void(open('https://www.wendangku.net/doc/3817728939.html,/post.aspx?tit le='+escape(t)+'&url='+escape(u)+'&excerpt='+escape(e),'HexunBookmark','scrollbar s=no,width=600,height=450,left=80,top=80,status=no,resizable=yes'));">

alt=和讯网摘src="/wm_img/hexun.gif" border=0>

href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection .createRange().text:'')d.getSelection?d.getSelection():'');void(live=window.open('https: //https://www.wendangku.net/doc/3817728939.html,/quickadd.aspx?marklet=1&mkt=en-us&url='+escape(d.location.h ref)+'&title='+escape(d.title)+'&top=1','live','scrollbars=no,status=no,resizable=yes')); live.focus();">

alt="Windows Live" src="/wm_img/live.gif" border=0>

# m8 O* S9 j2 f+ l2 @: U$ N$ ~3 y4 B5 m) `' U

title=鼠标选中部分作为描述,提交到https://www.wendangku.net/doc/3817728939.html,

onclick="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.select ion.createRange().text:'')d.getSelection?d.getSelection():'');void(keyit=window.open(' https://www.wendangku.net/doc/3817728939.html,/submit.aspx?title='+escape(d.title)+'&url='+escape(d.location. href)+'&description='+escape(t),'keyit','scrollbars=yes,width=500,height=500,left=65, top=20,status=no,resizable=yes'));keyit.focus();"

href="javascript://">提交新发现,Dig it

border=0>

其他调用:

{dede:group row="8" orderby='threads'}

[field:groupname/]

{/dede:group}

"

图片调用:{dede:flink type='image' row='1' col='9' titlelen='22'/}

文字调用:{dede:flink type='text' row='2' col='9' titlelen='24'/}

[

{dede:hotwords num='20' subday='30'/}

{dede:loop table='pw_threads' sort='tid' row='8' if=''}

·[field:subject function="cn_substr('@me',30)"/]

([field:lastpost function="date('m-d H:M','@me')"/])

{dede:loop}

-----------------------------------文章图片幻灯片显示------------------------------------>