Welcome Guest, Not a member yet? Register   Sign In

Dear Friends,

Am following a video tutorial doing a calendar:

this is my code:

class Mycal extends CI_Controller {

function display($year = null, $month = null)

$conf = array(
'start_day' => "monday",
'show_next_prev' => true,
'next_prev_url' => base_url().'Mycal/display'

echo $this->calendar->generate($year, $month);


in this calendar the current day is in Bold
What shall I do to make all the days one month back bolded, and each bolded day on click will directed to a link.

I want to use this calendar in a newspaper, with one month archiving online.

Any Help

CI V2.0.1


See the calendar class documentation, you'll want to use a custom template. http://ellislab.com/codeigniter/user-gui...endar.html

Theme © iAndrew 2016 - Forum software by © MyBB