Correct formatting of "isLoggedIn" condition on an "if" statement

Hello world!

I want to check with the liquid, if the visitor is connected. I write the statement from downstairs, but it does not work.

< div >

{% If user.isLoggedIn is true-%}

< p > Hey Alex! < /p >

{%-%}

< p > you are not connected! < /p >

{endif-%}

< / div >

Maybe I'm not using the correct formatting of the "if" condition Can someone do the good correction for the statement "if"?

Thank you

Alex

Hi Alex,

{{Your IF statement is pretty much correct, do not forget to complete the lines %} not-%}

and the object you need to check is globals.user.isLoggedIn - Globals. Catalyst of business support

That's all,

Stoiky

Tags: Business Catalyst

Similar Questions

  • Many web sites does not not with correct format minus 8.0

    Many web sites does not not with correct format minus 8.0 but work fine with IE. At first glance, my internet connection has problems because the text was load but the format and images had problems, but not the internet connection. Example is www.msnbc.com or www.blueovalnews.com

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • When I opened Google Eearth I get the data could not be read because it is not in the correct format

    How can I get Google Earth in the right format? While I can read the data?

    It should be in the correct format.

    SART to rearmament. Press and hold the home and power buttons until the Apple logo appears. Release the two buttons. Wait for your iPad to begin on its own.

    Next try remove and reinstall the application.

    Ed. Your bio says IOS 9.2.1. If you have installed IOS 9.3 and the above does not work, you can contact Google.

  • Microsoft Fix it Center - "install string was not in a correct format."

    Microsoft Fix Center - whenever I select an installation option to run the difficulty It Center application I get the message error "Installation string was not in a correct format."   I tried to re - download and running several times and still not the same error.  I am running Windows XP Pro.

    Hello

    1. This does happen with all Microsoft fix and fix it with any specific Microsoft?

    2. don't you make changes to the computer before the show?

    I suggest you to contact the Microsoft Fix it support team for assistance.

    http://social.Microsoft.com/forums/is/fixitcenter/threads

  • When executing "Difficulty It Center Microsoft" I get a message "input string was not in a correct format." What does that mean?

    When executing "Difficulty It Center Microsoft" I get a message "input string was not in a correct format." What does that mean?

    Hello

    The question you have posted is related to Microsoft fix and would be better suited in the Microsoft Support Tools Forums. Please visit the link below to find a community that will provide the support you want. http://social.Microsoft.com/forums/en-HK/fixitcenter/threads

  • "Input string was not in a correct format." When you access certain Web sites.

    "Input string was not in a correct format.".

    laugh the error im getting whenever I tired to open some pages as my emails help me pls im on average in computer science

    Hi babanee2,

    ·         What version of IE are you using?

    Try the following. (For Internet Explorer only)

    Method 1: Follow the steps in the article mentioned below.

    Some sites Web may not behave as expected in Internet Explorer

    Method 2: Try to optimize Internet Explorer and see if it makes a difference.

    Internet Explorer is slow? 5 things to try

  • Error: 'capture string not in correct format' when tried to run Microsoft Fix it

    Original title: micro solve this Center meets all attempts to click for repair by 'string input not in the correct format' to try to correct the printer does not print not while going through all the correct motions.

    Please see above under

    Hi llc333,

    1. what web browser are you help you to download Microsoft remedy?
    2 you get an error message when tried to print?

    Try these steps and check the result.
    a. Click Start and then click Printers and faxes.
    b. in the menu help, click on Help and Support Center.
    c. in Help and Support Center, click fixing a printing problem.
    d. in the right pane, click Printing Troubleshooter.

    Check if the following articles help you to fix the printing problem.
    1 see resources for the resolution of the printer in Windows XP problems
    2 see Advanced Troubleshooting for when you cannot print in Windows XP

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Microsoft Fix It gives me an error "input string was not in a correct format" whenever I try to run it. Run Windows XP Home addition, version 2002, service pack 3.

    Microsoft Fix It gives me an error "input string was not in a correct format" whenever I try to run it.  Run Windows XP Home addition, version 2002, service pack 3.

    Hey H West.

    The forum below would be more suited for that matter.

    Microsoft Fix it Center - NOT for general support questions
    http://social.Microsoft.com/forums/en-us/fixitcenter/threads

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Can anyone advise on the correct format for indexoptions vbscript?

    Can anyone advise on the correct format for indexoptions vbscript?

    I'm going round in circles trying to do things.

    for example indexoptions.title when you install a vbscript to generate an index

    I can't find the right object to attach to.

    There was a book and a Document is open in these attempts have been made:

    InDesign.ActiveBook.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method

    "InDesign.Application.ActiveBook.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "Application.ActiveBook.IndexOptions.Title ="New Index"' application error 424 object required"

    "ActiveBook.IndexOptions.Title = 'New Index' ' error 424 object required ActiveBook"

    "InDesign.Application.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "Application.IndexOptions.Title ="New Index"' application error 424 object required"

    "MyInDesign.IndexGenerationOptions.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    ' MyIndexDocument.Indexes (1). IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method

    ' MyIndexDocument.Indexes (1). Title = 'New Index' ' error 438-object doesn't support this property or method

    "MyIndex.Title = 'New Index' ' error 438-object doesn't support this property or method"

    ' myBook.Indexes (1). IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method

    "MyInDesign.ActiveBook.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "MyIndex.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "MyInDesign.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "IndexOptions.Title = 'New Index' ' error 424 object required IndexOptions"

    "myDocument.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "IndexOptions.Title = 'New Index' ' error 424 object required IndexOptions"

    "InDesign.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    "myBook.IndexOptions.Title = 'New Index' ' error 438-object doesn't support this property or method"

    Any suggestion would be appreciated.

    Hi Jongware,

    I guess that's not chrisnaylor error but a typo in the VB removal:

    In the "local", we can see that this should have begenerationof Index Options:

    Kind regards
    Kasyan

  • Hi my image (#88692521) is significantly smaller than announced can you help me to provide the correct format? Thank you

    Hi my image (#88692521) is significantly smaller than announced can you help me to provide the correct format

    Nobody knows where to go to fix this?

    Thank you

    Hi Rochelle,

    I'm sorry that the file is not as expected. I bring the file to our content manager. I gave you a new license to replace the one that you used when you license the file above.

    EBQ

  • Error: Please enter the date value in the correct format DD-MON-RRRR

    Hi all
    First of all, I am 100% not learning financial oracle no technical information. I'm trying to run a report: - the calendar does not appear in order for me to choose the date - not to mention that when I enter the date IE 10/09/2010 or on 09/10/2010 the system gives me this error "" error: Please enter the date value in the correct format DD-MON-RRRR ".
    Please help me to solve this.

    Thank you

    Please enter date in format 12 October 2010.

    Kind regards
    http://www.oraerp.com

  • Need to correct format for start of Ticker text

    What is the correct format to include an image in a Ticker view? I read the help screen, and I've tried it two ways:

    (1) c:\ < path >-< path > \etc... \filename.jpg
    (2) fmap:images / filename.jpg

    In both cases, I just get the text I typed in, NOT the image represented by it.

    I think I'm accurately following the information on the help screen, that says this for the field "start":

    Start text: Specifies any text or graphics for display at the beginning of each new drawing results. You can use HTML to format the text.

    If you insert an image, make sure you know where the image. If the image is for your use only, the following is a sample place:

    c:\mycomputer\temp\report.gif

    If the image is for use in a shared environment, it must be on a network accessible to all users. For a shared image, specify the UNC name, for example:

    \\ALLUSERS\graphics\report.gif

    Hi Mark,
    do not use fmap in html, but use the address absolute or relative to the image, that is:

    absolute:

    
    

    or a parent:

    
    

    I prefer the relative link, since it is independent of your environment.

    Kind regards
    Stijn

  • Race conditions manifested in the state machine in queue

    Hello

    I ' am developing a vi in which I use a design of producer-consumer model.
    the producer s enqueue States for the consumer. but at a certain point in execution of I want to enqueue the next state of the statemachine consumer, within the State of the consumer himself. This causes a problem?
    in other words I have given queue in the loop of consumer can also. so the man the next state of consumers will depend on the data in queue

    Thank you

    I make extensive use of Handleres of Message queue where the "producer" and the consumer enqueue for the same queue.

    A "Firinstance" of work today: here are two screenshots of a part of the same code

    The top loop controls the State of a semi autonomous process where data is collected.

    1. an event is detected, triggering the start of the measuring cycle
    2. Data are being gathered
    3. Another event tells the top loop that it's time to stop collecting data and "Analize" is sent to the end opposite to the consumer
    4. The buffer empty analize, formats the data and continues to the State of "Log".

    The thing to remember is to use a priority queue.  Enqueue to place free and flush properly, in front of end control.  See also 'A trip to Grandma's House'.

    It is a very powerful technique for applications where you want abstract on the 'what' and 'When' the how and just leave a "do".

    And Yes, if I had chosen a unrestricted data (string, var) rather than an enum type and built the lower loop as a child class, you have a "player".

  • Mozilla firefox add-ons Manager page is not in the correct format and error in installing addons?

    page of the Add-ons Manager makes its appearance in the basic format and when I search for add ons, it shows the result, but without images (to the basic format). Cannot install them too.

    If you can, take a snapshot and post it here for us to see.

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    Thank you!

  • 10.0.2 Firefox does not correctly (formatting, paragraphs, editing) with a forum that I use

    I use the community on Cakewalk.com forum and found that Firefox 10.0.2 does not respond to the positions of others, and does not for good formatting of paragraphs during display causes often the forum because of the error messages.

    I never had this problem with previous versions and to check that Firefox is the problem, I looked at the forum by using Internet Explorer and found no problem.

    You should be able to define your own user agent.

    You can find the current user on the help agent > troubleshooting page information and change this value.

    • Mozilla/5.0 (Windows NT 5.1; rv:9.0.2) Gecko/20100101 Firefox/9.0.2

Maybe you are looking for

  • iPhone 6: missing wifi indicator

    In recent days, I noticed that even though my iPhone seems to be connected to a wireless network, the signal indicator is missing. If anyone found the same thing? Anyone has an idea why this might be? iOS 9.3.2

  • Pet food test, looks ok but the file is not displayed

    Hello everyone, I'm from the Spain, sorry for mistakes in my writing. I will try to explain my problem in the simplest. The problem is that I tested my stream in itunes and it seems to be ok, but the mp3 file is not there. My Wordpress blog is: http:

  • How to recover a permanently deleted file [Microsoft Office] in WIN XP

    while trying to install Flash player {plugin missing] in IE8, I accidentally deleted Microsoft Office [in Set Program Access and Defaults].} the subsequent download of a free trial version of MS Office required a key to buy [huh?] I saw there are opp

  • Want to improve my diet for a new video card; have any questions.

    Wishes of the members of the Forum; I have a PC HP Pavilion Elite HPE - 190t CTO Office purchased in March 2010.  Very good product, but food is not fit to what I run. I have purchase a Corsair 650TX so I can run an EVGA GTX 680.  This requires a min

  • T400 - switching graphics and many wonder

    I just got T400 for my school work. I understand there is also a feature to switch between integrated and discrete GPUS. I have a few question now... In Device Manager are we suppose to see two installed GPU, or just one active? What are the conditio