自由列表当前链接 实现教程 1、打开 /include/arc.freelist.class.php 找到,大概在429行, else if($ctag-GetName()=="pageno"){$this-dtp-Assign($tagid,$PageNo);} 在它下面加入 else if($ctag-GetName()=="freelink"){$tnam
自由列表当前链接
实现教程
1、打开 /include/arc.freelist.class.php 找到,大概在429行,
else if($ctag->GetName()=="pageno")
{
$this->dtp->Assign($tagid,$PageNo);
}
在它下面加入
else if($ctag->GetName()=="freelink")
{
$tnamerule = $this->GetMakeFileRule();
$tnamerule = preg_replace("#\/{1,}#", "/", $tnamerule);
$makeFile = str_replace('{page}',$PageNo,$tnamerule);
$this->dtp->Assign($tagid,$makeFile);
}
添加完是这样的
2、自由列表模板里标签写法
{dede:global.cfg_basehost/}{dede:freelink/} 
发表评论