1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Conditional For Poll Results Page

Discussion in 'XenForo Questions and Support' started by BamaStangGuy, May 31, 2012.

  1. BamaStangGuy

    BamaStangGuy Well-Known Member

    Is there a conditional I can use to check if the page is a poll results page? Need to add something inside the <head> tags.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Are you still trying to stop the poll results page being indexed, or is this something else?
     
  3. BamaStangGuy

    BamaStangGuy Well-Known Member

    Yea, I'd prefer to use noindex,follow instead of the robots.txt (which works).
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    <xen:if is="{$controllerAction} == 'PollResults'}">

    Might help...
     
  5. BamaStangGuy

    BamaStangGuy Well-Known Member

Share This Page