Forum Discussion

jchen's avatar
jchen
Boss
11 years ago

widget could not be displayed (custom widget)

Hi, all! We have a custom component, and when the user is logged out, we see a "This widget could not be displayed." message. I checked with Support and they said to make sure  <#if !user.anonymous ...
  • JasonL's avatar
    JasonL
    11 years ago

    Hi @jchen,

    Sorry, my bad ... typo there ... it should be this (without the "/" in the back of first line)

    <#if !user.anonymous>
    ... rest of code ...
    </#if>

     (Just FYI, the error description said line 1, column 22 ... that means a typo on the first line, 22nd character)

     

    Let us know if that works out for you