I want to make some changes on template(portlet.vm) in liferay based on some condition. And condition is to know whether user is signed in or not. Something like:
#if ($is_signed_in)
<section class="portlet" id="portlet_$portlet_id">
..
...
</section>
#else
//Some other divs
#end
I m trying to access $is_signed_in variable, but its not wokring. Kindly tell me solution of this problem. Thanks in advance.