两步,轻松彻底让PJBlog最终版的静态文章中侧边显示自定义模块

2009-03-09 程序代码 873 阅读 0 评论

control/c_skins.asp中找到


							 


在下面加


                             
                             

control/Action.asp中找到

Case "doIndex":
                conn.Execute("update blog_module set IndexOnly=true where id="&selectID(i))
Case "cancelIndex":
                conn.Execute("update blog_module set IndexOnly=false where id="&selectID(i))


在下面加

Case "doSystem":
                conn.Execute("update blog_module set IsSystem=true where id="&selectID(i))
Case "cancelSystem":
                conn.Execute("update blog_module set IsSystem=false where id="&selectID(i))

注:此方法并不是所有的自定义模块都能显示。

本文链接:https://blog.clang.cn/529.html

版权声明:转载请注明出处。

评论 (0)

评论已关闭