动易 标题中如何加入图片
动易SW系统,如果想在文章标题前面加入如下这样一个图片,应该如何实现?有人说用文章自定义标签,应如何使用?http://photocdn.sohu.com/2007120...
动易SW系统,如果想在文章标题前面加入如下这样一个图片,应该如何实现?有人说用文章自定义标签,应如何使用?
http://photocdn.sohu.com/20071204/Img253796296.gif
如何改模板能解决我就不来发贴了 展开
http://photocdn.sohu.com/20071204/Img253796296.gif
如何改模板能解决我就不来发贴了 展开
2个回答
展开全部
打开网站目录下Include文件夹下的PowerEasy.Common.Front.asp文件找到源代码中的
Select Case TitleFontType
Case 1
strTitle = "<b>" & strTitle & "</b>"
Case 2
strTitle = "<em>" & strTitle & "</em>"
Case 3
strTitle = "<b><em>" & strTitle & "</em></b>"
在后面加上
Case 5
strTitle = "<img src=""" & ChannelUrl & "/images/Img253796296.gif"" width=""16"" height=""10"" border=""0"" />" & strTitle
保存并关闭这个文件
再打开网站目录下的铅首睁Admin文件夹(就是管理目录,有些网站改过这个目录名)打开Admin_Article.asp文件,在源代码中找到
Response.Write " <select name='TitleFontType' id='TitleFontType'>"
Response.Write " <option value='0' selected>字形</option>"
Response.Write " <option value='1'>粗体</option>"
Response.Write " <option value='2'>斜体</option>"
Response.Write " <option value='3'>粗+斜</option>"
Response.Write " <option value='0'>规则</option>"
在后面加上
Response.Write " <option value='5'>视频</option>"
再找到
If rsArticle("TitleFontType") = 0 Then Response.Write " selected"
Response.Write ">字形</option>"
Response.Write " <option value='1'"
If rsArticle("TitleFontType") = 1 Then Response.Write " selected"
Response.Write ">粗体</option>"
Response.Write " <option value='2'"
If rsArticle("TitleFontType") = 2 Then Response.Write " selected"
Response.Write ">斜体</option>"
Response.Write " <option value='3'"
If rsArticle("TitleFontType") = 3 Then Response.Write " selected"
Response.Write ">粗+斜</option>"
Response.Write " <option value='0'"
If rsArticle("TitleFontType") = 4 Then Response.Write " selected"
Response.Write ">规芹侍则</option>"
在后面加上
Response.Write " <option value='5'"
If rsArticle("TitleFontType") = 5 Then Response.Write " selected"
Response.Write ">视频</option>"
保存
另外把你那个图片保存在Article(如果你是新加的模块你可能要放在相应的目录)下面的槐岁images文件夹下,不要改名
Select Case TitleFontType
Case 1
strTitle = "<b>" & strTitle & "</b>"
Case 2
strTitle = "<em>" & strTitle & "</em>"
Case 3
strTitle = "<b><em>" & strTitle & "</em></b>"
在后面加上
Case 5
strTitle = "<img src=""" & ChannelUrl & "/images/Img253796296.gif"" width=""16"" height=""10"" border=""0"" />" & strTitle
保存并关闭这个文件
再打开网站目录下的铅首睁Admin文件夹(就是管理目录,有些网站改过这个目录名)打开Admin_Article.asp文件,在源代码中找到
Response.Write " <select name='TitleFontType' id='TitleFontType'>"
Response.Write " <option value='0' selected>字形</option>"
Response.Write " <option value='1'>粗体</option>"
Response.Write " <option value='2'>斜体</option>"
Response.Write " <option value='3'>粗+斜</option>"
Response.Write " <option value='0'>规则</option>"
在后面加上
Response.Write " <option value='5'>视频</option>"
再找到
If rsArticle("TitleFontType") = 0 Then Response.Write " selected"
Response.Write ">字形</option>"
Response.Write " <option value='1'"
If rsArticle("TitleFontType") = 1 Then Response.Write " selected"
Response.Write ">粗体</option>"
Response.Write " <option value='2'"
If rsArticle("TitleFontType") = 2 Then Response.Write " selected"
Response.Write ">斜体</option>"
Response.Write " <option value='3'"
If rsArticle("TitleFontType") = 3 Then Response.Write " selected"
Response.Write ">粗+斜</option>"
Response.Write " <option value='0'"
If rsArticle("TitleFontType") = 4 Then Response.Write " selected"
Response.Write ">规芹侍则</option>"
在后面加上
Response.Write " <option value='5'"
If rsArticle("TitleFontType") = 5 Then Response.Write " selected"
Response.Write ">视频</option>"
保存
另外把你那个图片保存在Article(如果你是新加的模块你可能要放在相应的目录)下面的槐岁images文件夹下,不要改名
参考资料: http://wenwen.soso.com/z/q194466848.htm?ch=w.gr.hy
博思aippt
2024-07-20 广告
2024-07-20 广告
作为深圳市博思云创科技有限公司的工作人员,对于Word文档生成PPT的操作,我们有以下建议:1. 使用另存为功能:在Word中编辑完文档后,点击文件->另存为,选择PowerPoint演示文稿(*.pptx)格式,即可将文档内容转换为PPT...
点击进入详情页
本回答由博思aippt提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询