i am following the tutorial, and i arrived at this step:
When a post is displayed using the show operation, we display a delete link if the current user is the system owner. Clicking on this button would cause the deletion of the post. Since the post deletion is causing the change of the server-side data, we use a POST request to trigger the deletion. We thus use the following code to generate the delete button:
<?php echo CHtml::linkButton('Delete',array(
'confirm'=>"Are you sure to delete this post?",
So, here we go again:
WHICH file, and in which directory, is this line supposed to be added?