ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

if conditional not showing up in IE

September 17, 2010 12:28pm

Subscribe [3]
  • #1 / Sep 17, 2010 12:28pm

    blaiseymae

    108 posts

    IE ticks me off.

    Can anyone tell me why this won’t work in IE?

    {if logged_in}
    <h1>Welcome {screen_name}  |   <a href="http://{path=logout}">Log Out</a></h1>
    {/if}
    
    {if logged_out}
    <h1> </h1>
    {/if}
  • #2 / Sep 17, 2010 12:31pm

    blaiseymae

    108 posts

    I have also tried:

    <h1>{if logged_in}Welcome {screen_name}  |   <a href="http://{path=logout}">Log Out</a>{/if}{if logged_out} {/if}</h1>

    and

    {if logged_in}
    <h1>Welcome {screen_name}  |   <a href="http://{path=logout}">Log Out</a></h1>
    {if:else}
    <h1> </h1>
    {/if}
  • #3 / Sep 18, 2010 4:16pm

    Greg Salt

    3988 posts

    Hi blaiseymae,

    What exactly is not working? What is displayed when you visit that template as a logged-in member? Which version of IE are you using? Do other browsers act as you expect?

    Cheers

    Greg

  • #4 / Sep 20, 2010 11:26am

    blaiseymae

    108 posts

    I use firefox for everything because I abhor IE.

    Because I was logged into EE in FF and not logged into EE in IE .... Yes ... I AM an idiot.

    LOL Disregard 😊

  • #5 / Sep 20, 2010 3:13pm

    Ingmar

    29245 posts

    Glad to see it was an easy one. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases