Welcome Guest, Not a member yet? Register   Sign In
creating a calender template
#1

[eluser]Sally D[/eluser]
my template is not being rendered it is not having any impact on the display of the calendar what the hell am I missing here.

I got a $prefs array

$prefs=array();

$prefs['template']='{table_open}<table border="1" cellpadding="0" cellspacing="0">{/
table_open}';

then in my constructor function in my main controller I am doing this loading my prefs array in to the template

$this->load->library('calendar', $prefs);

then I got my calender function in my controller which generates the calendar

function calendar()
{
$data=array("19"=>"http://localhost/");
echo $this->calendar->generate(2007,11,$data);
}


but I still can't put a border around my calender via setting the border property in my template to 1

why?

any help thanks!


Messages In This Thread
creating a calender template - by El Forum - 11-18-2007, 02:17 PM
creating a calender template - by El Forum - 11-19-2007, 05:27 AM
creating a calender template - by El Forum - 11-19-2007, 09:57 AM
creating a calender template - by El Forum - 11-19-2007, 05:44 PM
creating a calender template - by El Forum - 11-19-2007, 07:19 PM
creating a calender template - by El Forum - 11-19-2007, 11:48 PM
creating a calender template - by El Forum - 11-20-2007, 03:59 PM
creating a calender template - by El Forum - 11-20-2007, 08:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB