首先更改:spec_add.php和spec_edit.php两个文件,约244,145行这样(关键字:“$notelist .=”),分别在
typeid=\\'$typeid\\'
后面添加上
order=\\'$order\\' orderby=\\'$orderby\\'
回到上面点添加获取参数值的变量,找到
$keywords = cn_substrR($keywords, 60);
在后面添加上order和orderby传进来的值并赋给对应的变量,之后打开\include\taglib\channel目录下的specialtopic.lib.php文件
大约61行这样将:
'default'
改为:
$ctag->GetAtt('orderby')
还有62行:
$ctag->GetAtt('att')
后面添加:
$ctag->GetAtt('order')