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

XF 1.1 No display image in threads

Discussion in 'XenForo Questions and Support' started by josemarialc, Jan 15, 2013.

  1. josemarialc

    josemarialc Member

    How I can get a picture I inserted into the page_countainer not shown in the threads?
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    If I understood correctly, you have inserted an image into the PAGE_CONTAINER template and you do NOT want it to be shown in threads?

    If so... wrap the image code in a conditional, like this:

    Code:
    <xen:if is="{$contentTemplate} != 'thread_view'">
    	<img src="http://www.valvetime.net/styles/valvetime/xenforo/valve.png" />
    </xen:if>
     
    Jake Bunce and josemarialc like this.
  3. josemarialc

    josemarialc Member

    Not work. Hidden image across the web. :(
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Just try again, I originally made a mistake and edited my post.
     
  5. josemarialc

    josemarialc Member

    It works!! Thank you very much!
     
    Chris D likes this.
  6. josemarialc

    josemarialc Member

    I return with another query. Can not display an image in two forums and elsewhere if?
     

Share This Page