Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Templates ExpressionEngine 1.6.9:在所有页面上显示日志_Templates_Expressionengine - Fatal编程技术网

Templates ExpressionEngine 1.6.9:在所有页面上显示日志

Templates ExpressionEngine 1.6.9:在所有页面上显示日志,templates,expressionengine,Templates,Expressionengine,我是个新手 我有下面的代码。投票日志显示在搜索结果页面,但不显示在博客和帖子详细信息页面:/I缺少什么 显示在搜索结果页面:www.blabla.com/search/noresults/d8ee432f229715a4adfbe1cc0d21049a/ 在博客页面上没有显示:www.blabla.com/blog/或www.blabla.com/blog/post/lorem_ipsum_简单地_dummy_text/ 感谢你的帮助!!!!非常感谢 {exp:weblog:entries we

我是个新手

我有下面的代码。投票日志显示在搜索结果页面,但不显示在博客和帖子详细信息页面:/I缺少什么

显示在搜索结果页面:www.blabla.com/search/noresults/d8ee432f229715a4adfbe1cc0d21049a/

在博客页面上没有显示:www.blabla.com/blog/www.blabla.com/blog/post/lorem_ipsum_简单地_dummy_text/

感谢你的帮助!!!!非常感谢

{exp:weblog:entries weblog="lg_polls"}
  {exp:lg_polls:poll entry_id="29" precision="1" return="/blog/"}
   <p>{poll_question}</p>
    {if can_vote}
      {poll_form}
        {if has_voted}<p>You have already voted in this poll, however you can vote again.</p>{/if}
        <ul class='lg-polls-answers'>
          {poll_answers}
          <li class='a-{answer_count}'> 
            <label for='lg-polls-answer-{answer_id}'>{answer_input} <span class='answer'>{answer}</span></label>
          </li>
          {/poll_answers}
        </ul>
        <div class="alignCenter"><input type="image" src="{site_url}/images/btn_submitpoll.png" alt="Vote" /></div>
      {/poll_form}
    {if:else}
      {if has_voted}<p>Thanks for voting in this poll.</p>{/if}
      {if restricted}<p>Sorry, You are restricted from voting in this poll.</p>{/if}
      {if expired}<p>This poll ended on {expiration_date}.</p>{/if}
      {if yet_to_begin}<p>This poll is yet to begin. Voting opens on {entry_date}.</p>{/if}
    {/if}
    {if show_results}
      <div class='lg-poll-results' id='lg-poll-results-29'>
        <ul class='lg-polls-answers'>
        {results_answers}
        <li class='a-{answer_count}'>
          <span class='answer'>{answer}</span>
          <span class='answer-total-votes'>{answer_total_votes} votes &nbsp;&nbsp; <b>{answer_percentage}%</b></span>
        </li>
        {/results_answers}
        </ul>
        <div class='poll-total-votes'>Total Votes: {poll_total_votes}</div>
      </div>
    {if:else}
      {if show_results_after_poll && has_voted}The results of the poll will be made available on {expiration_date}{/if}
      {if never_show_results && has_voted}The results of this poll will be made public at a later date.{/if}
    {/if}



  {/exp:lg_polls:poll}

{/exp:weblog:entries}
{exp:weblog:entries weblog=“lg_polls”}
{exp:lg_polls:poll entry_id=“29”precision=“1”return=“/blog/”}
{投票问题}

{如果你能投票} {poll_form} {if has_vote}您已经在本次投票中投票,但是您可以再次投票。

{/if}
    {poll_answers}
  • {结果_答案}