Announcement

Collapse
No announcement yet.

Hiding an item from regeistered customers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hiding an item from regeistered customers

    I have a login button on my site I am working on however i wish to hide this from people who are logged in.

    I know you can use the;

    <Actinic:NOTINB2B><!--</Actinic:NOTINB2B> etc to hide things from customers who aren't logged in I am looking to do the opposite.

    I am sure there is a really simple solution staring me in the face however struggling to see it at the moment.

    All advice really welcome.
    www.flytesofancy.co.uk, www.electricfencingkits.co.uk, www.dorsetlogstores.co.uk, www.framebow.co.uk

    #2
    You can use:
    <Actinic:NOTINB2B>code only visible when not logged in</Actinic:NOTINB2B>
    <Actinic:NOTINB2B><!--</Actinic:NOTINB2B>code only visible when logged in<Actinic:NOTINB2B>--></Actinic:NOTINB2B>

    Comment


      #3
      Duncan that's great just what i needed.

      One last thing if it isn't too cheeky.

      I also have this snippet of code.

      Code:
      <Actinic:NOTINB2B><!--</Actinic:NOTINB2B> 
      Logged in as <actinic:variable name="MyAccountContactFirstName" /> <actinic:variable name="MyAccountContactLastName" />
      <Actinic:NOTINB2B>--></Actinic:NOTINB2B>
      It displays correctly when I go the the "my account" page but not after initially logging in.

      It returns this;

      Logged in as NETQUOTEVAR:MYACCOUNTCONTACTFIRSTNAME NETQUOTEVAR:MYACCOUNTCONTACTLASTNAME
      www.flytesofancy.co.uk, www.electricfencingkits.co.uk, www.dorsetlogstores.co.uk, www.framebow.co.uk

      Comment


        #4
        Try using:
        Logged in as <Actinic:WELCOME/>

        Comment


          #5
          Duncan thanks a gain.

          Its not exactly wohat i was going for however it will certainly do the job in the meantime.
          www.flytesofancy.co.uk, www.electricfencingkits.co.uk, www.dorsetlogstores.co.uk, www.framebow.co.uk

          Comment

          Working...
          X