[eluser]Developer13[/eluser]
Ok - you probably have something similar to this in your controller:
Code:
$this->load->library('calendar');
echo $this->calendar->generate();
$this->load->view('whatever');
Instead of that, try this:
Code:
$this->load->library('calendar');
$data['calendar'] = $this->calendar->generate();
$this->load->view('whatever', $data);
Then, in your view, you can simply <?php echo $calendar; ?> to output your calendar positioned wherever you'd like.