Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:10 am EST

Geeklog Forums

customizing calendar


picolo

Anonymous
confused
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 Wink
sincerely adam vincent
 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
Text Formatted Code
            $cal_templates->set_var ('cal_day_anchortags', '<a href="'
                . $_CONF['site_url'] . '/calendar.php?view=day&amp;'
                . addMode ($mode) . 'day=' . $curday->daynumber. '&amp;month='
                . $month . '&amp;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>');
 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