I can't get this to work.
I want to show the "about me" text in the headinclude template if the page is the profile of a user.
PHP Code:
<if condition="THIS_SCRIPT=='member'">
<if condition="$userinfo[field1]">$userinfo[field1]<else />XXX</if>
</if>
PHP Code:
<if condition="THIS_SCRIPT=='member'">
<if condition="$userinfo[field1]!=''">$userinfo[field1]<else />XXX</if>
</if>
Both versions above do not work. I receive "XXX", even if the user has filled out the about me profile field.