Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1017837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:45:55+00:00 2026-05-16T10:45:55+00:00

I’m a EE newbie. I have the code below. the poll weblog displays at

  • 0

I’m a EE newbie.

I have the code below. the poll weblog displays at search result page, but doesn’t display at blog and post details page :/ what am I missing?

display at search result page: http://www.blabla.com/search/noresults/d8ee432f229715a4adfbe1cc0d21049a/

NO display at blog pages: http://www.blabla.com/blog/ or http://www.blabla.com/blog/post/lorem_ipsum_is_simply_dummy_text/

Appreciate helps!!!! Thanks a lot!

{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}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:45:56+00:00Added an answer on May 16, 2026 at 10:45 am

    I’m not 100% sure, since I haven’t used LG Polls before, but try adding in dynamic=”off” to your exp:weblog:entries opening tag. That will prevent EE from trying to find entries within the weblog you’re calling based on the URL. See the link below:

    http://expressionengine.com/legacy_docs/modules/weblog/parameters.html#par_dynamic

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I have a jquery bug and I've been looking for hours now, I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.