Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • There is a fault in this plugin: when the current day is sunday the calendar will not show the set bordercolor for the current day. To change this includ the following line:

    if ($i == date('j') and $month == date('F') and $year == date('Y')) { $border_day = $current_day_border_color;}

    to:
    /plugins/spider-event-calendar/front_end/bigcalendarmonth.php after line 886:

    if(!isset($border_day)) $border_day = "";

    so you will get:

    if(!isset($border_day)) $border_day = "";
                    if ($i == date('j') and $month == date('F') and $year == date('Y')) { $border_day = $current_day_border_color;}
              echo '      <td class="calsun_days" style="padding:0; font-size:'........

    Thread Starter bitstomper

    (@bitstomper)

    Yeah I figured I have to reinstall.
    Weird thing is: after I did a reinstall and put the exact same php code back into the plugin it magically works.
    Plugin initially threw error stating there was an unexpected ‘;’ .
    However there was nothing wrong in the php code (as is proven again now as the code is the same as before but now the plugin works).

    Thread Starter bitstomper

    (@bitstomper)

    Like I said: there is no widget!!
    I can only see the files, no widget no nothing.
    Adjusting the php code is also no option. I removed that code (like I said).

    Thread Starter bitstomper

    (@bitstomper)

    I did not remove any options. I merely removed a bit of php code as one of the values of the array and replaced it with empty quotation marks and set the s to 0.
    So instead of it reading: s:9:”<?php blah ?>”
    it now reads: s:0:””
    I was hoping this would solve the issue. The issue occured after I changed a bit of php code in the widget itself (in the admin area). So this change has nothing to do with the issue.

Viewing 4 replies - 1 through 4 (of 4 total)