您现在的位置: 动易技术中心 >> 动易产品知识库 >> SiteFactory常见问题 >> 正文
SiteWeaver版本升级到SiteFactory版本后标签修改说明

 

9、错误:网络编程处,图片前面多了小圆点并且
{$GetArticleList(1,6,true,0,0,10,false,false,"",0,1,2,40,0,false,1,false,false,0,false,false,true,true,false,false,0,1,,,)} 标签不解析
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板
图片前面多了小圆点,这个可以通过CSS来控制,而标签不解析是因为SF里没有这样的标签要换成对应的标签。
点左侧的内容标签找到 文章信息列表_表格式 设置好对应的参数

详细替换的内容如下:
<td class=main_tdbg_282 vAlign=top height=136>
{PE.Label id="带图片内容列表_文章_普通式" parentid="35" arrnodeid="6" includechild="true" specialid="0" shownum="2" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="1" imgwidth="100" imgheight="90" titlelen="20" contentlen="0" showtips="false" Cols="2" /}
{$GetArticleList(1,6,true,0,0,10,false,false,"",0,1,2,40,0,false,1,false,false,0,false,false,true,true,false,false,0,1,,,)} </td>
改为:
<td class=main_tdbg_282 vAlign=top height=136>
<div class="imglist_1">
{PE.Label id="带图片内容列表_文章_普通式" parentid="35" arrnodeid="6" includechild="true" specialid="0" shownum="2" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="1" imgwidth="100" imgheight="90" titlelen="20" contentlen="0" showtips="false" Cols="2" /} </div>
{PE.Label id="文章信息列表_表格式" parentid="35" arrnodeid="6" includechild="true" specialid="0" urltype="0" shownum="10" ishot="false" iselite="false" inputername="" datenum="0" ordertype="3" showtype="1" titlelen="20" contentlen="0" shownodename="false" showpropertytype="3" showincludepic="false" showauthor="false" showdatetype="mm-dd" showhits="false" showhotsign="false" shownewsign="false" showtips="true" showcommentlink="false" usepage="false" opentype="_blank" cols="1" hits="0" elitelevel="0" /}
</td>

打开skin/动易2006Ind_arthd模板风格.css
加入:
.imglist_1{margin:0px;padding:0px;}
.imglist_1 ul
{
width: 100%;
float: left;
}
.imglist_1 li
{
width: 49.5%; /*一行两列*/
float: left;
}

10、错误:动易帮助处,图片前面多了小圆点并且
{$GetArticleList(1,8,true,0,0,10,false,false,"",0,1,2,40,0,false,1,false,false,0,false,false,false,false,false,false,0,1,,,)}标签不解析
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板
类网络编程
<td class=main_tdbg_282 vAlign=top height=136>
{PE.Label id="带图片内容列表_文章_普通式" parentid="35" arrnodeid="8" includechild="false" specialid="0" shownum="2" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="1" imgwidth="100" imgheight="90" titlelen="20" contentlen="0" showtips="false" Cols="2" /}
{$GetArticleList(1,8,true,0,0,10,false,false,"",0,1,2,40,0,false,1,false,false,0,false,false,false,false,false,false,0,1,,,)} </td>
改为:
<td class=main_tdbg_282 vAlign=top height=136>
<div class="imglist_1">
{PE.Label id="带图片内容列表_文章_普通式" parentid="35" arrnodeid="8" includechild="false" specialid="0" shownum="2" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="1" imgwidth="100" imgheight="90" titlelen="20" contentlen="0" showtips="false" Cols="2" /} </div>
{PE.Label id="文章信息列表_表格式" parentid="35" arrnodeid="8" includechild="true" specialid="0" urltype="0" shownum="10" ishot="false" iselite="false" inputername="" datenum="0" ordertype="3" showtype="1" titlelen="20" contentlen="0" shownodename="false" showpropertytype="3" showincludepic="false" showauthor="false" showdatetype="mm-dd" showhits="false" showhotsign="false" shownewsign="false" showtips="true" showcommentlink="false" usepage="false" opentype="_blank" cols="1" hits="0" elitelevel="0" /}
</td>

11、错误:全站搜索,搜索出现错误
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板

<!--站内搜索代码开始-->
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
<FORM name=search action=search.asp method=post>
<tr>
<td width=120><IMG src="{PE.SiteConfig.installdir /}Images/search.gif"></td>
<td align=middle>
<Input type=radio CHECKED value=Article name=ModuleName> 文章
<Input type=radio value=Soft name=ModuleName> 下载
<Input type=radio value=Photo name=ModuleName> 图片
<Input id=Keyword maxLength=50 value=关键字 name=Keyword>
<Input id=Submit type=submit value=·搜索· name=Submit>
<Input id=Field type=hidden value=Title name=Field></td>
</tr>
</FORM>
</table>
<!--站内搜索代码结束-->

改为:
<!--站内搜索代码开始-->
{PE.Label id="全站搜索表单" /}
<!--站内搜索代码结束-->

 

12、错误:特别推荐没有任何内容
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板
parentid="34" 文章的根栏目ID应该是35,参数设置不对所有没有内容。
这时再刷新首页发现图片内容有了,但样式还是不对。
打开页面的源码,我么可以看到
<ul><li><div class="pe_u_thumb"><a href="/website/Item/56.aspx"><img class="pic2" src="/website/UploadFiles/Article_UploadFiles/200707/20070708112146578_S.gif" width="100" height="90" alt="服务器上为什么会出现动易组件检测不到的情况" border="0" /></a></div><div class="pe_u_thumb_title"><a href="/website/Item/56.aspx">服务器上为什...</a><br /></div></li><li><div class="pe_u_thumb"><a href="/website/Item/51.aspx"><img class="pic2" src="/website/UploadFiles/Article_UploadFiles/200608/20060805012430876.jpg" width="100" height="90" alt="以下以红色标明的内容为动易2006版新增加的参数或项目" border="0" /></a></div><div class="pe_u_thumb_title"><a href="/website/Item/51.aspx">以下以红色标...</a><br /></div></li><li><div class="pe_u_thumb"><a href="/website/Item/50.aspx"><img class="pic2" src="/website/UploadFiles/Article_UploadFiles/200608/20060805015515980.jpg" width="100" height="90" alt="玩转Photoshop的“自由变形”工具" border="0" /></a></div><div class="pe_u_thumb_title"><a href="/website/Item/50.aspx">玩转Photosho...</a><br /></div></li><li><div class="pe_u_thumb"><a href="/website/Item/49.aspx"><img class="pic2" src="/website/UploadFiles/Article_UploadFiles/200608/20060805015050949.gif" width="100" height="90" alt="Photoshop输出透明背景的gif图像" border="0" /></a></div><div class="pe_u_thumb_title"><a href="/website/Item/49.aspx">Photoshop输...</a><br /></div></li><li><div class="pe_u_thumb"><a href="/website/Item/47.aspx"><img class="pic2" src="/website/UploadFiles/Article_UploadFiles/200608/20060805014510270.jpg" width="100" height="90" alt="Photoshop滤镜巧制岩壁特效" border="0" /></a></div><div class="pe_u_thumb_title"><a href="/website/Item/47.aspx">Photoshop滤...</a><br /></div></li><li><div class="pe_u_thumb"><a href="/website/Item/46.aspx"><img class="pic2" src="/website/UploadFiles/Article_UploadFiles/200608/20060805014055932.gif" width="100" height="90" alt="漂亮奇特的Photoshop双层字" border="0" /></a></div><div class="pe_u_thumb_title"><a href="/website/Item/46.aspx">漂亮奇特的Ph...</a><br /></div></li></ul>

所以只要在外面加上<div></div>用CSS就可以控制一行显示的列数了,具体如下:
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板

<td class=main_tdbg_760i align=middle>
{PE.Label id="带图片内容列表_文章_普通式" parentid="34" arrnodeid="0" includechild="true" specialid="0" shownum="6" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="1" imgwidth="100" imgheight="90" titlelen="15" contentlen="0" showtips="true" Cols="6" /} </td>
改为:
<td class=main_tdbg_760i align=middle>
<div class="elite_imglist">
{PE.Label id="带图片内容列表_文章_普通式" parentid="35" arrnodeid="0" includechild="true" specialid="0" shownum="6" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="1" imgwidth="100" imgheight="90" titlelen="15" contentlen="0" showtips="true" Cols="6" /}
</div>
</td>
打开skin/动易2006Ind_arthd模板风格.css
加入:
/*特别推荐*/
.elite_imglist{width:760px;margin:0px;padding:0px;}
.elite_imglist ul
{
width: 100%;
float: left;
}
.elite_imglist li
{
width: 15.5%; /*一行显示6列*/
float: left;
}

 

13、错误:热门点击,标签不解析
{$GetArticleList(0,0,false,0,0,10,true,false,"",0,1,2,18,0,false,1,false,false,0,true,true,false,false,false,false,1,1,True,bbb,)}
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板
把此处不解析的标签删除
编辑模板处左侧,内容标签找到 文章信息列表_表格式 标签,设置好参数,添加
以下是替换前后的详细内容
<td class=left_tdbg1 vAlign=top height=126>
{$GetArticleList(0,0,false,0,0,10,true,false,"",0,1,2,18,0,false,1,false,false,0,true,true,false,false,false,false,1,1,True,bbb,)}</td>

改为:
<td class=left_tdbg1 vAlign=top height=126>
{PE.Label id="文章信息列表_表格式" parentid="35" arrnodeid="0" includechild="true" specialid="0" urltype="0" shownum="10" ishot="true" iselite="false" inputername="" datenum="0" ordertype="3" showtype="1" titlelen="20" contentlen="0" shownodename="false" showpropertytype="3" showincludepic="false" showauthor="false" showdatetype="0" showhits="true" showhotsign="true" shownewsign="false" showtips="true" showcommentlink="false" usepage="false" opentype="_blank" cols="1" hits="0" elitelevel="0" /}
</td>

 

14、错误:平面设计,文章图片不显示,标签不解析
{$GetArticleList(1,5,true,0,0,20,false,false,"",0,3,2,26,0,false,1,false,false,3,false,false,false,true,true,false,0,2,True,bbb,False)}
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板
图片不显示的原因是parentid=”34” 文章根栏目ID不对,如何查看节点ID方法上面已经提过。
标签不解析解决方法在模板中找到此处的标签删除掉,并点左侧的内容标签项,找到文章信息列表_表格式 标签,设置好对应的参数后添加为标签。
替换前后的标签对照如下:
<td width=70>
{PE.Label id="带图片内容列表_文章_普通式" parentid="34" arrnodeid="0" includechild="false" specialid="0" shownum="2" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="1" imgwidth="70" imgheight="70" titlelen="10" contentlen="0" showtips="true" Cols="1" /} </td>
<td width="88%">
{$GetArticleList(1,5,true,0,0,20,false,false,"",0,3,2,26,0,false,1,false,false,3,false,false,false,true,true,false,0,2,True,bbb,False)}</td>
改为:
<td width=70>
{PE.Label id="带图片内容列表_文章_普通式" parentid="35" arrnodeid="0" includechild="false" specialid="0" shownum="2" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="1" imgwidth="70" imgheight="70" titlelen="10" contentlen="0" showtips="true" Cols="1" /} </td>
<td width="88%">
{PE.Label id="文章信息列表_表格式" parentid="35" arrnodeid="5" includechild="true" specialid="0" urltype="0" shownum="16" ishot="false" iselite="false" inputername="" datenum="0" ordertype="3" showtype="1" titlelen="20" contentlen="0" shownodename="false" showpropertytype="3" showincludepic="false" showauthor="false" showdatetype="mm-dd" showhits="false" showhotsign="false" shownewsign="false" showtips="true" showcommentlink="false" usepage="false" opentype="_blank" cols="2" hits="0" elitelevel="0" /}

</td>

 

15、错误:用户排行标签不解析{PE.Label id="ShowTopUser" UserNum="5" /}
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板

<td class=left_tdbg1 vAlign=top height=126>{PE.Label id="ShowTopUser" UserNum="5" /}</td>
改为:
<td class=left_tdbg1 vAlign=top height=126>{PE.Label id="用户列表" listnum="5" /}</td>

 

16、错误:Cosplay 秀显示不出图片
修改操作步骤:登录后台-----系统设置-------模板管理-----首页模板------设置好的模板
原因是根栏目ID指定不对应该为35

<td class=left_tdbg1 vAlign=top height=126>
{PE.Label id="幻灯片效果显示图片_文章" parentid="34" arrnodeid="0" includechild="false" specialid="0" shownum="10" ishot="false" iselite="false" datenum="0" ordertype="1" ShowType="165" imgwidth="165" imgheight="0" titlelen="5000" timeout="-1" /} </td>
改为:
<td class=left_tdbg1 vAlign=top height=126>
{PE.Label id="幻灯片效果显示图片_文章" parentid="35" arrnodeid="0" includechild="true" specialid="0" shownum="10" ishot="false" iselite="false" datenum="0" ordertype="1" imgwidth="150" imgheight="150" titlelen="20" timeout="5000" effectid="23" hits="0" elitelevel="0" span="" class="" /}
</td>

 

上一页  [1] [2] [3] 下一页

文章录入:陈陈    责任编辑:zhenzhen 
  • 上一篇文章:

  • 下一篇文章: 没有了
  • 关闭窗口
    动易SiteFactory标签说明
    动易2006网站标签说明列表
    用户手册下载
    联系我们 | 关于动易 | 网站地图 | 相关证书 | 合作伙伴 | 招贤纳士 | 法律条款 | 隐私权声明
    安全上网网上报警
    动易网络科技有限公司版权所有 © 2003-  粤ICP备05004015号
    公安备案编号:4406063010734 本站基于 PowerEasy® SiteWeaver™ 制作