I have created one function to fetch the user inbox message and display it using "user-profile-messages" templates. Also I have added functionality (in the same function) to deleting bulk inbox message if user clicked on delete all button. But after deleting all messages, page/template is not redering. Please let me know what could be the reason.
I am rendering page using below method.
$this->template->body = View::factory("user-profile-messages", array(
"msg" => $msg,
"messages" => $messages,
))->render();
I am using Kohana latest version.
echo
ing$body
in your template view? – Impendingrender()
just converts View object to a string. Alex means that you need to display$body
var somewhere in your$this->template
View. – Deimos