I want to use ckeditor plugin, and pagination in my application; but there is a problem.
If I load data of pagination ckeditor doesn’t work. If I load data of ckeditor pagination doesn’t work.
$data['pagination']=$this->pagination->create_links(); $data['ckeditor']=$this->data;
$this->load->view('index', $data); // pagination
In index.php I can write echo $pagination, but ı cant use $ckeditor because its usage is the following:
<?php echo display_ckeditor($ckeditor); ?>
at least ı solved problem. but you cant send multiple data to view as ı did.
you need to do this:
ı made ckeditor in construct so ı can use it everywhere.