PJ3日志显示彩色标题【支持全静态】
作者:Edge 日期:2008-08-30
演示效果如本站,由于前段时间PJ3一直处于测试阶段,也就没有着手各种完善功能的修改
目前PJ3大体功能的完工,我也完成了博客整站的升级工作。涉及到静态模式,可能有些朋友不会
故把相关教程发布出来
代码改动比较多,忘改动之前做好备份!
修改文件有blogedit.asp、blogpost.asp、class\cls_logAction.asp、class\cls_default.asp、article.asp、class\cls_article.asp
1.打开blogedit.asp
1.1找到
换行插入
1.2找到
换行输入
目前PJ3大体功能的完工,我也完成了博客整站的升级工作。涉及到静态模式,可能有些朋友不会
故把相关教程发布出来
代码改动比较多,忘改动之前做好备份!
修改文件有blogedit.asp、blogpost.asp、class\cls_logAction.asp、class\cls_default.asp、article.asp、class\cls_article.asp
1.打开blogedit.asp
1.1找到
复制内容到剪贴板
程序代码
程序代码 lArticle.logPublishTimeType = request.form("PubTimeType")
换行插入
复制内容到剪贴板
程序代码
程序代码lArticle.logthestyle = request.form("log_thestyle")
1.2找到
复制内容到剪贴板
程序代码
程序代码<input name="title" type="text" class="inputBox" id="title" size="50" maxlength="50" value="<%=lArticle.logTitle%>"/>
换行输入
复制内容到剪贴板
程序代码
程序代码 <select name="log_thestyle">
<option value="1" <%if lArticle.logthestyle=1 then response.Write "selected"%>>默认效果</option>
<option value="5" <%if lArticle.logthestyle=5 then response.Write "selected"%> >彩色闪光</option>
<option value="6" <%if lArticle.logthestyle=6 then response.Write "selected"%>>來回波浪</option>
<option value="7" <%if lArticle.logthestyle=7 then response.Write "selected"%>>霓虹醒目</option>
<option value="8" <%if lArticle.logthestyle=8 then response.Write "selected"%>>逐字突出</option>
<option value="9" <%if lArticle.logthestyle=9 then response.Write "selected"%>>红色背景</option>
<option value="10 <%if lArticle.logthestyle=10 then response.Write "selected"%>">蓝色背景</option>
<option value="11" <%if lArticle.logthestyle=11 then response.Write "selected"%>>绿色背景</option>
<option value="12" <%if lArticle.logthestyle=12 then response.Write "selected"%>>红框醒目</option>
<option value="13" <%if lArticle.logthestyle=13 then response.Write "selected"%>>蓝框醒目</option>
<option value="14" <%if lArticle.logthestyle=14 then response.Write "selected"%>>绿框醒目</option>
<option value="15" <%if lArticle.logthestyle=15 then response.Write "selected"%>>淡蓝空心</option>
<option value="16" <%if lArticle.logthestyle=16 then response.Write "selected"%>>红色阴影</option>
<option value="17" <%if lArticle.logthestyle=17 then response.Write "selected"%>>交替变色</option>
</select>
<option value="1" <%if lArticle.logthestyle=1 then response.Write "selected"%>>默认效果</option>
<option value="5" <%if lArticle.logthestyle=5 then response.Write "selected"%> >彩色闪光</option>
<option value="6" <%if lArticle.logthestyle=6 then response.Write "selected"%>>來回波浪</option>
<option value="7" <%if lArticle.logthestyle=7 then response.Write "selected"%>>霓虹醒目</option>
<option value="8" <%if lArticle.logthestyle=8 then response.Write "selected"%>>逐字突出</option>
<option value="9" <%if lArticle.logthestyle=9 then response.Write "selected"%>>红色背景</option>
<option value="10 <%if lArticle.logthestyle=10 then response.Write "selected"%>">蓝色背景</option>
<option value="11" <%if lArticle.logthestyle=11 then response.Write "selected"%>>绿色背景</option>
<option value="12" <%if lArticle.logthestyle=12 then response.Write "selected"%>>红框醒目</option>
<option value="13" <%if lArticle.logthestyle=13 then response.Write "selected"%>>蓝框醒目</option>
<option value="14" <%if lArticle.logthestyle=14 then response.Write "selected"%>>绿框醒目</option>
<option value="15" <%if lArticle.logthestyle=15 then response.Write "selected"%>>淡蓝空心</option>
<option value="16" <%if lArticle.logthestyle=16 then response.Write "selected"%>>红色阴影</option>
<option value="17" <%if lArticle.logthestyle=17 then response.Write "selected"%>>交替变色</option>
</select>
[ 正在加载评论信息,请稍后... ]
cls_logAction.asp 文件中根本没 weblog("log_Pwtips")=logPwtips
语句
语句
请核对版本 及语句查找是否有空格!
拿来试试看!!!!!!!!!!!!!
你的站好几天没能打开呀。
www.spiger.cn
其实是我的浏览器的问题,元旦那天自动升级了IE8,效果就出来了。
另:在firefox中无效。
www.spiger.cn
其实是我的浏览器的问题,元旦那天自动升级了IE8,效果就出来了。
另:在firefox中无效。

firefox的问题,确实没有办法了。
没打开,可能是服务器的问题,欢迎光临!
没打开,可能是服务器的问题,欢迎光临!
经我详细测试一半效果有,
红色背景
蓝色背景
绿色背景
红框醒目
蓝框醒目
绿框醒目
交替变色
而其他的七种没效果`
红色背景
蓝色背景
绿色背景
红框醒目
蓝框醒目
绿框醒目
交替变色
而其他的七种没效果`

给我演示地址看看!
你好,请问半静态能用不?
可以,针对版本不一样,请对应修改!
我按上面修改出现了错误....发表后无法再次使用编辑和删除文章
出现以下代码提示
Microsoft JET Database Engine ?펳 '80040e10'
ցəһ????ָ??ֵ??
/class/cls_logAction.asp??А 646
请帮忙解决..感谢
出现以下代码提示
Microsoft JET Database Engine ?펳 '80040e10'
ցəһ????ָ??ֵ??
/class/cls_logAction.asp??А 646
请帮忙解决..感谢
确认修改步骤是否正确。请仔细对照!
说明你的版本已经是否有其他修改情况
说明你的版本已经是否有其他修改情况
pifu 很好看
谢谢! 

哇塞哇塞碰到一个跟我一样使用特殊置顶方法的家伙 2008 8 30 哈哈
哈哈,而且遇见的还是老乡呢。。欢迎常来光临!
这篇日志,适合到目前为止的157版本升级,所以还是置顶的。
这篇日志,适合到目前为止的157版本升级,所以还是置顶的。
帮帮忙看下哦!
版本是pj3.06.170
版本是pj3.06.170
大同小异,如果真有错误
请给出具体演示地址,或将修改文件发至我的邮箱,留言告之!
请给出具体演示地址,或将修改文件发至我的邮箱,留言告之!
我照着你说的方法去改的话!发帖子就出现了
Microsoft VBScript runtime ?펳 '800a01f4'
Variable is undefined: 'showStyle'
/blog/class/cls_logAction.asp??А 1210
这样的错误哦!
还有你的最后
8.打开Template/static.htm 找到
也就是第8步的修改好像一样的代码哦,没什么实际意义哦
!
希望博主尽快给我回复哦!谢谢哦!
Microsoft VBScript runtime ?펳 '800a01f4'
Variable is undefined: 'showStyle'
/blog/class/cls_logAction.asp??А 1210
这样的错误哦!
还有你的最后
8.打开Template/static.htm 找到
也就是第8步的修改好像一样的代码哦,没什么实际意义哦
!
希望博主尽快给我回复哦!谢谢哦!
细心修改就OK了。
第8步的修改都看不出来,可见你的粗心...
请仔细检查你的修改步骤!
第8步的修改都看不出来,可见你的粗心...
请仔细检查你的修改步骤!
非常感谢博主分享、经过细心修改代码、我以完全成功升级、现在正在使用中、不过其中有两个效果不可用、(淡蓝空心、红色阴影)
不过那两个效果都不重要了、再次谢谢你分享、顺便想和贵博交换连接、希望通过...
Candy's Blog 申请链接
已经提交后台,感谢你百忙中查看
From: www.mxsf.net/
不过那两个效果都不重要了、再次谢谢你分享、顺便想和贵博交换连接、希望通过...
Candy's Blog 申请链接
已经提交后台,感谢你百忙中查看
From: www.mxsf.net/
哦,,,,谢谢版主老大!!!压缩包里的thestyle文件夹!在我运行updata.asp升级文件后。我也把thestyle文件夹删了。。哎,理解错了。以为全部删耶!!!版主是我们四川人的骄傲。版主是四川哪里的》?
版主:现补上地址:www.361nokia.cn屏蔽了斜线blog.望解决下。因为有很多种特效都没用上!!
版主: 我照你的方法修改了。但是有些功能不能使用!我使用的是PJBlog3 v2.8.5.157 版本。没有使用全静态
谢谢版主老大解决下.
谢谢版主老大解决下.
演示地址,或是把相应的修改部分发给我!
顺利升级!就是第六步的不太好找
<%=HtmlEncode(log_ViewArr(2,0))%>
这个现在157里面是
<%=HtmlEncode(log_ViewArr(2, 0))%>
中间有空格!~~郁闷哦
<%=HtmlEncode(log_ViewArr(2,0))%>
这个现在157里面是
<%=HtmlEncode(log_ViewArr(2, 0))%>
中间有空格!~~郁闷哦
细心就好了!
发表评论
上一篇
下一篇
文章来自:
Tags:
相关日志:
回复
