Hi!
I wanted an: "Edit your profile picture" on users homepages to be displayed ONLY if it was the actual USER viewing his/her webpage -
I accomplished this with the following code in the TPL.
{CODE()}
{if $fHomepage == $gTikiUser->mInfo.user_id}
<b>you are the owner!! So put img tags</b>
{/if}
{CODE}
Spiderr.... how can I accomplish this in the PHP code instead of the tpl?
I wanted an: "Edit your profile picture" on users homepages to be displayed ONLY if it was the actual USER viewing his/her webpage -
I accomplished this with the following code in the TPL.
{CODE()}
{if $fHomepage == $gTikiUser->mInfo.user_id}
<b>you are the owner!! So put img tags</b>
{/if}
{CODE}
Spiderr.... how can I accomplish this in the PHP code instead of the tpl?