Menu

#428 Calendar: Would Like To Remove Mini-Calendar But Keep Events

open
nobody
None
5
2008-03-14
2008-01-25
Jeff Tickle
No

I would like to be able to remove the mini-calendar from the side of every page, but keep the list of events.

Current Behavior:
If you hide the mini-calendar, the list of events goes away too.

Expected Behavior:
In Calendar Settings, have a section right below 'Display mini calendar' called 'Display event list' that has the same options as the mini-calendar.

Discussion

  • phpwizz

    phpwizz - 2008-02-04

    Logged In: YES
    user_id=1147290
    Originator: NO

    Hi what version are u using? In phpws 1.x you can make some small changes in /mod/calendar/inc/runtime.php
    ill paste my version here try it it works fine

    <?php
    /**
    * @author Matthew McNaney <mcnaney at gmail dot com>
    * @version $Id: runtime.php 5472 2007-12-11 16:13:40Z jtickle $
    * @changed by phpwizz 2008-01-10 stones98 at hotmail . com
    */

    $mini_cal_display = PHPWS_Settings::get('calendar', 'display_mini');

    if ($mini_cal_display == MINI_CAL_SHOW_ALWAYS ||
    ($mini_cal_display == MINI_CAL_SHOW_FRONT && PHPWS_Core::atHome())) {
    Layout::addStyle('calendar');

    $Calendar = new PHPWS_Calendar;
    $Calendar->loadUser();
    $lil_calendar = $Calendar->user->mini_month();

    //Layout::add($lil_calendar, 'calendar', 'minimonth');

    $upcoming = $Calendar->user->upcomingEvents();

    if ($upcoming) {
    Layout::add($upcoming, 'calendar', 'upcoming');
    }
    }
    ?>

     
  • Anonymous

    Anonymous - 2008-03-14

    Logged In: YES
    user_id=400519
    Originator: NO

    Moving to feature requests.

     
  • Anonymous

    Anonymous - 2008-03-14
    • labels: 105710 -->
    • milestone: 586713 -->
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.