基础调用-->>更多调用 (复制功能限IE模式)

{dede:global.cfg_webname/}
{dede:field.typename/}
{dede:field.title/}
{dede:field.pubdate function='strftime("%Y-%m-%d %H:%M:%S",@me)'/}
{dede:field.title function="cn_substr(@me,10)"/}
{dede:flink row='24' type='text' titlelen="24"  typeid="0"}[field:link /]{/dede:flink}
{dede:field name='position'/}
<ul>
{dede:list pagesize='10' titlelen='80' orderby='pubdate'/}
<li>
<a href="[field:arcurl/]">[field:title/]</a>
<span>[field:pubdate function='strftime("%y-%m-%d",@me)'/]</span>
</li>
{/dede:list}
</ul>
<ul>
{dede:list pagesize='10' titlelen='80' orderby='pubdate'/}
<li>
<img src="[field:litpic/]">
<a href="[field:arcurl/]">[field:title/]</a>
<div>[field:description/]</div>
</li>
{/dede:list}
</ul>
<ul>{dede:pagelist listitem="info,index,end,pre,next,pageno,option" listsize="5"/}</ul>
{dede:field name='typeid' function="GetTopTypename(@me)" /}
{dede:arclist row='1'}
<a href="[field:arcurl /]" title="[field:fulltitle /]">[field:fulltitle function=' ( strlen("@me")>48?cn_substr("@me",48)."…" : "@me" )'/]</a>{/dede:arclist}
{dede:field.english/}
{dede:field name='typeid' function="GetTopEnglishname(@me)" /}
{dede:type row=1}[field:typelink /]{/dede:type}
{dede:type}[field:ID function='GetTotalArc(@me)'/] {/dede:type}
{dede:field.arcpic/}
<img src="{dede:field.typeid runphp='yes'}$ID = @me; $sql = "SELECT * FROM `dede_arctype` WHERE id=$ID";$query = mysql_query($sql);$row=mysql_fetch_array($query); $relID = "$row[reid]"; if($relID == 0) {@me = $row[arcpic];}else{$sql = "SELECT `arcpic` FROM `dede_arctype` WHERE id=$relID";$query = mysql_query($sql);$row=mysql_fetch_array($query); @me = $row[arcpic];}{/dede:field.typeid}"/>
{dede:field.arcpic/}
{dede:field.litpic/}
<div class="prenext">
<ul>
<li>{dede:prenext get='pre'/}</li>
<li>{dede:prenext get='next'/}</li>
</ul>
</div>
<div class="pagebreak">
<ul>
{dede:pagebreak/}
</ul>
</div>
{dede:productimagelist}
 <img src="[field:imgsrc/]">
  {/dede:productimagelist}
<ul>
{dede:channelartlist}
<li>
<a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a>
<ul>
{dede:sql sql='Select * from #@__arctype where reid=~id~ ORDER BY id limit 0,200'}
<li><a href='/plus/list.php?tid=[field:id/]'>[field:typename/]</a></li>
{/dede:sql}
</ul>
</li>
{/dede:channelartlist}
</ul>
<ul>
{dede:channelartlist typeid='1,1'}
<li>
<a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a>
<ul>
{dede:channel type='son' noself='yes'}
<li><a href="[field:typelink/]">[field:typename/]</a></li>
{/dede:channel}
</ul>
</li>
{/dede:channelartlist}
</ul>
<ul>
{dede:channelartlist typeid='1,2,3'}
<li>
<a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a>
<ul>
{dede:channel type='son' noself='yes'}
<li><a href="[field:typelink/]">[field:typename/]</a></li>
{/dede:channel}
</ul>
</li>
{/dede:channelartlist}
</ul>
{dede:channel type='self' currentstyle="<#li class='hover'><#a href='~typelink~'>~typename~<#/a><#/li>"}
<li><a href="[field:typeurl/]">[field:typename/]</a></li>
{/dede:channel}
<ul>
<li><a href='{dede:global.cfg_cmsurl/}/'>主页</a></li>
{dede:channel type='top' row='10' currentstyle="<#li class='hover'><#a href='~typelink~'>~typename~<#/a><#/li>"}
<li><a href='[field:typeurl/]' [field:rel/]><span>[field:typename/]</span></a></li>
{/dede:channel}
</ul>
<ul>
<li><a href="/">首页</a></li>
{dede:channelartlist typeid='top'}
<li>
<a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a>
<div id="slide{dede:field.typeid/}" class="menu2">
{dede:channel type='son' noself='yes'}<p><a href="[field:typelink/]">
[field:typename/]</a></p>
{/dede:channel}</div>
</li>
{/dede:channelartlist}
</ul>
update dede_archives set ismake=-1
update dede_arctype set isdefault=-1

最新程序包

开发说明

1. chanel里面调用的字段,需要在include/taglib/chanel.lib.php文件添加

2.同级栏目currentstyle样式设置文件include/taglib/channel.lib.php(linkOkstr)

3.自定义方法文件include/common.func.php以及extend.func.php

4.栏目缩略图——sql语句:ALTER TABLE `dede_arctype` ADD `arcpic` VARCHAR(128)

5.栏目英文名——sql语句:ALTER TABLE `dede_arctype` ADD `english` VARCHAR(128)