阎老头 發表於 2013-10-8 15:36:12

ASPCMS自带的默认栏目分类的删除方法

aspcms 默认栏目不能删除解决方法<br />不指定首先找到 <br />\admin\_content\_Sort\AspCms_SortFun.asp <br />这个文件。 <br />然后将 <br />if isnul(id) then alertMsgAndGo &quot;请选择要操作的内容&quot;,&quot;-1&quot; <br />dim ids,i <br />ids=split(id,&quot;,&quot;) <br />for i=0 to ubound(ids) <br />if ids(i) &lt;= 20 then alertMsgAndGo &quot;栏目ID号&quot;&amp; ids(i) &amp;&quot;为保护栏目不可删除,请修改或者禁用!&quot;,&quot;-1&quot; <br />if ids(i) &lt;= 20 then exit sub <br />'删除子分类和子类中的内容 <br /><br />中的 <br />&lt;=20 修改为1,或者-1即可,或者修改为0 <br />这样默认的栏目就可以删除了,
頁: [1]
查看完整版本: ASPCMS自带的默认栏目分类的删除方法