How to load a view from a controller in the blog module

edited November 2012 in News & Announcements
I am trying to send an email from the blog controller when sending an email when a comment is posted.
$this->email->message($this->load->view('confirmComment-html', $data, FALSE));
This gives me the error: Unable to locate the file: blog/views/confirmComment-html.php

How can I load the view? The view is in: fuel/modules/blog/views

Comments

  • edited 5:29AM
    Sorry, my mistake, had a spelling mistake in the view's name.
Sign In or Register to comment.