Gcal Sidebar 0.1

Gcal Sidebar is a fork of Google Calendar Feed Parser by Justin Bennet. New features added include wigetization, use of calendar ID instead of URL, and links to different formats of the calendar in the header. Download Gcal Sidebar and try it out.

5 Comments

  • By Martin Beck, January 16, 2010 @ 8:17 pm

    When I try to active the plugin, I get this “fatal error” message:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/mbeck/public_html/wp-content/plugins/gcal-sidebar-0.11/gcal-sidebar.php on line 177

    Can you help?

    Thanks,
    Martin

  • By Martin Beck, January 16, 2010 @ 8:18 pm

    Meant *activate* the plugin……

  • By admin, January 16, 2010 @ 10:04 pm

    What version of PHP is installed on the server. PHP4 does not properly handle lines like that.

    Try chaning this:
    $event_link = $entry->link->attributes()->href;
    To this:
    $event_attr = $entry->link->attributes();
    $event_link = $event_attr->href;

    See if that resolves your problem.

  • By admin, January 16, 2010 @ 11:53 pm

    Martin:
    Please let me know if that works for you. I have an updated version to release, and if that resolves it. I’ll do that in the update as well.

  • By Martin Beck, January 17, 2010 @ 1:27 am

    I made the coding change, tried to active without success but then I found a way in my cPanel dashboard to switch to php5 … and the plugin installed fine. Thanks for your help.

Other Links to this Post

RSS feed for comments on this post. TrackBack URI

Leave a comment

WordPress Themes