Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:10 am EST
Geeklog Forums
customizing calendar
picolo
Anonymous
hello every body
i want to customize my calendar
what i want to do is:
remove the "day" calendar with all the hours of the day
http://www.geeklog.net/calendar/index.php?mode=&view=day
and just keep the "month" calendar
http://www.geeklog.net/calendar/index.php?mode=
I also want to be able to choose the wich years will be available .
i dont have any data for until 2006 so i dont need the calendar from 2001,2002, 2003, 2004..
thx for helping
sincerely adam vincent
i want to customize my calendar
what i want to do is:
remove the "day" calendar with all the hours of the day
http://www.geeklog.net/calendar/index.php?mode=&view=day
and just keep the "month" calendar
http://www.geeklog.net/calendar/index.php?mode=
I also want to be able to choose the wich years will be available .
i dont have any data for until 2006 so i dont need the calendar from 2001,2002, 2003, 2004..
thx for helping
sincerely adam vincent
9
12
Quote
picolo
Anonymous
i assume it is not the best way to do it wut this is the way i have done it
i hacked
. $_CONF['site_url'] . '/calendar.php?view=day&'
. addMode ($mode) . 'day=' . $curday->daynumber. '&month='
. $month . '&year=' . $year . '" class="cal-date">'
. $curday->daynumber. '</a><hr>');
to
. $curday->daynumber. '</p><hr>');
i hacked
Text Formatted Code
$cal_templates->set_var ('cal_day_anchortags', '<a href="'. $_CONF['site_url'] . '/calendar.php?view=day&'
. addMode ($mode) . 'day=' . $curday->daynumber. '&month='
. $month . '&year=' . $year . '" class="cal-date">'
. $curday->daynumber. '</a><hr>');
to
Text Formatted Code
$cal_templates->set_var ('cal_day_anchortags', '<p>'. $curday->daynumber. '</p><hr>');
13
14
Quote
All times are EST. The time is now 06:10 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content