主题 : 在投*管理中添加投*后首页不显示
级别: 商业授权用户
UID: 47919
积分:704 加为好友
威望: 0 精华: 0
主题:49 回复:314
注册时间:2013-05-23
在线时长:0
1#   发表于:2016-04-08 09:32:59  IP:218.176.*.*
在投票管理中添加投票后首页不显示
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
2#   发表于:2016-04-08 09:33:47  IP:111.83.*.*
你首页有没有投票列表标签
1
级别: 商业授权用户
UID: 47919
积分:704 加为好友
威望: 0 精华: 0
主题:49 回复:314
注册时间:2013-05-23
在线时长:0
3#   发表于:2016-04-08 09:39:09  IP:218.176.*.*
回复第2楼
[@cms_vote]
[#if !tag_bean??]
<div>没有默认投票主题</div>
[#else]
<form name="votes" action="${base}/vote.jspx" method="post" target="_blank">
  <table width="100%" border="0" cellspacing="5" cellpadding="0">
    <tr>
      <td height="30" colspan="2" align="left">${tag_bean.title?html}
        <input type="hidden" name="voteId" value="${tag_bean.id}"/></td>
    </tr>
    [#if tag_bean.multiSelect gt 1]
    [#list tag_bean.items as item]
    <tr>
      <td width="9%" height="20" align="center"><input type="checkbox" name="itemIds" value="${item.id}" onClick="check_votes(${tag_bean.multiSelect})" id="${item.id}"/></td>
      <td width="91%" align="left">${item.title?html}</td>
    </tr>
    [/#list]
    [#else]
    [#list tag_bean.items as item]
    <tr>
      <td width="9%" height="20" align="center"><input type="radio" name="itemIds" value="${item.id}"/></td>
      <td width="91%" align="left">${item.title?html}</td>
    </tr>
    [/#list]
    [/#if]
    <tr>
      <td height="35" colspan="2" align="center"><input type="submit" value="投 票" onClick="return check_votes(${tag_bean.multiSelect})"/>
      &nbsp; <a href="${base}/vote_result.jspx?voteId=${tag_bean.id}" target="_blank">查看投票结果</a> </td>
    </tr>
  </table>
</form>
[/#if]
[/@cms_vote]
级别: 版主
UID: 70293
积分:78391 加为好友
威望: 1 精华: 0
主题:7 回复:68397
注册时间:2014-12-03
在线时长:0
4#   发表于:2016-04-08 09:40:16  IP:111.83.*.*
这又不是列表,这只会显示一个默认投票和投票项
1
1 共1页