Matrix Version:5.4.7.1
Hi
I’m looking to use a design customisation on a single page that will display content if user is logged in, or a message and login form if they’re not. I found this snippet from another post on the forum:
<MySource_AREA id_name=“login_page” design_area=“nested_content” print=“no” />
<MySource_AREA id_name=“user_name” design_area=“show_if”>
<MySource_SET name=“condition” value=“logged_in” />
<MySource_THEN>
… blah blah …
<MySource_THEN>
<MySource_ELSE>
… blah …
<MySource_PRINT id_name=“login_page” />
… blah …
<MySource_ELSE>
<MySource_AREA>
So I use this in a design asset and then apply it to my page. What do I put in the THEN and ELSE conditions to display either a message and login form or the page content?
Thanks in advance!