Jump to content

[ SOLVED ] Conditional image displaying


Recommended Posts

Hello

I am trying to display an image ( a background image that is not declared in body, but after the body tag ), it seems I am not doing it right. I am not a programmer, so I am doing this learning and reading. Could someone please tell me what am I doing wrong? Here is the code:

      <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>

   {if $content_only}{elseif $page_name}{/if}>



Thank you

EDIT: I did it bymyself cheers

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...