WordPress.org

Ready to get started?Download WordPress

Forums

google calendar plugin (calendar style) (18 posts)

  1. suuuueee
    Member
    Posted 7 years ago #

    most google calendar plugins that i have seen so far only outputted a list of the upcoming events.

    i'm looking for a plugin that will display the events as a calendar, that looks just like wp_calendar()

    i'd like to be able to click a day on the calendar and see the events, or a hover/rollover thing would be nice. actually i like the hover/rollover idea better.

    is there such a plugin? is it not in existence yet?

    thanks in advance!

    oh, and could this plugin not be widgets-dependent? i'd like a traditional, simple plugin :D

  2. bananasontoast
    Member
    Posted 7 years ago #

    I'm curious too, anyone?

  3. mutube
    Member
    Posted 7 years ago #

    I've not seen one before but it sounds like a good idea - let me know if you find one. If nobody else gets there first I'll have a crack at one tomorrow :)

    (today's my first day off work in over a month!)

    Puts feet up

  4. suuuueee
    Member
    Posted 7 years ago #

    yay! *excited*

  5. Aimzter
    Member
    Posted 7 years ago #

    yeah im also keen for this little plugin.

  6. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Interesting idea. I like it.

    So I've added a calendar option to my Google Calendar widget. Yes, sorry, but it is indeed a widget. I may abstract out the functionality more so it can be used as a non-widget, but that will take a while longer. Widgets are just easier and simpler all around.

    I want to add some more functionality before I make it publically available though, so it's not posted up yet. It works okay, it's just not very pretty. :)

    Anyway, I'll try to get it done sometime tonight. When I do, it'll be version 1.5 of the widget and will be posted here: http://ottodestruct.com/blog/2006/04/18/google-calendar-widget

  7. mutube
    Member
    Posted 7 years ago #

    Phew! Someone else decided to do the work.

    Otto: About turning it into a non-widget. I've converted most my widgets into dual-widget-plugin style & with the practise I've got it down to a knack.

    I'm putting together a sort of "How To" on the subject so will hurry it along & upload for all to enjoy.

  8. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    mutube: I think I've got an easy to use method for doing it, actually. My plan is to make a wrapper function which takes a bunch of arguments, converts them into the correct widget options, then sends them over to the normal widget-producing code to produce the sidebar muck. Should be easy enough, I just need to actually do it. The real problem is that this widget has a *lot* of options. Not as much as many of the built in WP-functions, but quite a lot of them nevertheless. Need to figure out some defaults and such.

  9. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Okay, it's available. It could stand a lot more work because it's a fairly hideous hack at the moment, and I still haven't made it a non-widget, but it works well enough to shove out there and let people play with.

    Also, it no worky with PHP 4. PHP 4 had several date handling issues that are marked as "WONTFIX", so upgrade to PHP 5.

  10. suuuueee
    Member
    Posted 7 years ago #

    oi oi oi. lots of fancy php talk that i'll never understand. will ignore.

    thanks guys for doing this!

  11. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Jeremi just put a fix on my blog to make the widget work with PHP 4. I can't test it myself, but since it doesn't seem to break the functionality with PHP 5, I've added it to the widget. Might help.

  12. wyoakum
    Member
    Posted 7 years ago #

    Otto -

    Nothing has been posted here for some time... are you still planning on non-widgetizing this plugin? I for one would love it. If you're not I guess I'll find another solution.

    Thanks for all the good work.

  13. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Sorry, I never really did get around to it, did I?

    It wouldn't be hard to make it a non-widget. I think I just need to add a wrapper function. I'll see what I can do tonight or tommorrow. :)

  14. wyoakum
    Member
    Posted 7 years ago #

    Great! Thanks a ton... I wish I had the know-how to do it myself.

  15. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Okay, the thing now works as a non-widget. Usage is not particularly simple, because there are a lot of options, but it does work. See the readme.txt file for info and an example on how to use it.

  16. wyoakum
    Member
    Posted 7 years ago #

    Thanks, alot for the work... i'll check it out.

  17. lellie
    Member
    Posted 7 years ago #

    I shall give it a go.. not using widgets so we shall see how it behaves! Thanks!

  18. bteeling
    Member
    Posted 7 years ago #

    I have gcalendar installed and am using it as a plugin (not widget). I am displaying the calendar events in the sidebar but new events are not automatically displayed. If I re-ftp sidebar.php to the site, then they are displayed. Can anyone help?

    The code I have is:
    widget_do_gcalendar(
    'http://www.google.com/calendar/feeds/0794f4vt5imavl7afajnblufsk@group.calendar.google.com/public/basic',
    4,
    'today',
    'today + 1 year',
    '',
    'd\-m\-Y \:',
    true,
    false
    );

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags