Hi all,
first of all I would like to congratulate you about the great work for ChronoEngine tools.
My issue is about the users permissions. I have a form done with Chronoform which works fine. I need to allow user to modify or delete their subscription but only their own not all.
I worked before with CC V3 and I used this method :
but now {edit_record} ... doesn't work.
I'm now using the last version of CC V4. I'm using frontend toolbar for deleting entrie and "Edit Field(s)" on FrontEnd List Settings for editing entrie. Both of them works but all users can delete or modify the entrie. I need to allow only the owner of entrie to delete or edit the entrie.
I guess you have a solution to do that, but I don't find it on Tutorials or forum.
Thanks a lot.
first of all I would like to congratulate you about the great work for ChronoEngine tools.
My issue is about the users permissions. I have a form done with Chronoform which works fine. I need to allow user to modify or delete their subscription but only their own not all.
I worked before with CC V3 and I used this method :
<?php
$user = & JFactory::getUser();
if ( $user->id == $MyRow->cf_user_id ) {
?>
{edit_record} ou {delete_record}
<?php
}
?>
but now {edit_record} ... doesn't work.
I'm now using the last version of CC V4. I'm using frontend toolbar for deleting entrie and "Edit Field(s)" on FrontEnd List Settings for editing entrie. Both of them works but all users can delete or modify the entrie. I need to allow only the owner of entrie to delete or edit the entrie.
I guess you have a solution to do that, but I don't find it on Tutorials or forum.
Thanks a lot.