Welcome Guest, Not a member yet? Register   Sign In
auto_typography class error?
#3

[eluser]ortwin.van.vessem[/eluser]
Ensure you have loaded the helper class in the autload.php or in the controller and use it like below in your controller.

Code:
$string = "Line 1 \nLine2";
$data['string'] = $this->typography->auto_typography($string);

$this->load->view('view', $data);

In the view you can use the variable $string.


Messages In This Thread
auto_typography class error? - by El Forum - 07-29-2013, 06:34 AM
auto_typography class error? - by El Forum - 07-29-2013, 03:30 PM
auto_typography class error? - by El Forum - 07-29-2013, 04:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB