Welcome Guest, Not a member yet? Register   Sign In
Which message library to use?
#6

[eluser]n0xie[/eluser]
Did you at least take a look at the example controller?

Code:
// Then if we have a message, display it:
$message = (validation_errors()) ? validation_errors() : $this->session->flashdata('message');

// Set message
$this->message->set('error', $message);

// load view
$this->load->view('auth/index');

// in your view:
echo $this->message->display();
As mentioned before you can style the output using a view partial. Add a view to the /view/messages/ folder with the same name as your message 'group'. For example your errors can be styled using error_view.php, as shown in the example.


Messages In This Thread
Which message library to use? - by El Forum - 10-02-2010, 01:12 AM
Which message library to use? - by El Forum - 10-02-2010, 05:29 AM
Which message library to use? - by El Forum - 10-02-2010, 05:53 AM
Which message library to use? - by El Forum - 10-02-2010, 06:38 AM
Which message library to use? - by El Forum - 10-03-2010, 12:30 AM
Which message library to use? - by El Forum - 10-03-2010, 05:24 PM
Which message library to use? - by El Forum - 10-04-2010, 05:44 AM
Which message library to use? - by El Forum - 10-05-2010, 12:35 AM
Which message library to use? - by El Forum - 10-05-2010, 02:39 AM
Which message library to use? - by El Forum - 10-05-2010, 02:56 AM
Which message library to use? - by El Forum - 10-05-2010, 05:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB