HI
I am trying to show the controls of editing and deleting only to the user's associated to the contact list.. I tried this but it's not working. The error seems to be that "{alias}" but I don't know another way to do this..
I am trying to show the controls of editing and deleting only to the user's associated to the contact list.. I tried this but it's not working. The error seems to be that "{alias}" but I don't know another way to do this..
<?php $user = &JFactory::getUser();
if ($user->username == {alias})
echo '<td style="width: 5%;">{edit_record} {delete_record}</td>'; ?>