Calendar in Sidebar

I've just finished shoehorning Quick Calendar into the zenPage sidebar to highlight (and provide links to) dates on which new content has been added.

Quick Calendar is a very simple, ajax-enabled PHP-based calendar, easily theme-able, and can be hooked into a dataset to give a calendar view of the data.

So, here's the deal, this is far from what I'd consider a proper plugin, but it's probably 85 to 90% functional in context of zen and what it's supposed to do/represent. I think for somebody with some zen plugin dev experience, bringing it to the finish line as a proper plugin would not be too difficult. There is a bit of fat to trim out (stuff that will never be used as part of zen), but most of the work is in packaging and variablizing some of the static bits (i.e.: database login, paths, etc).

The way I'm using it, it feels and looks native to zenPage, preserves the month displayed on page refresh where it seems appropriate to do so, and respects permissions based on logged-in user.

If anyone wants to hack this into their own site, I'll assist the best I can. Better yet, if anyone wants to carry this forward, I'd be happy to collaborate (and maybe learn a little along the way).

Thanks,
Adam
www.PigsLipstick.com

Comments

  • acrylian Administrator, Developer
    New plugins are always welcome and it should not be that hard if you got that far. We have a tutorial about plugins as well. Also look at some existing ones.

    If you want someone to help the best would probably be to offer the code somehow (I have currently no time for this though).
  • Best way for this would be to create a ticket and attach files to it. Attach both the plugin, and a modified theme script that uses it (for testing.)
  • Thanks for the feedback - what I'll do is work on trimming Quick Calendar down to the bare essentials needed for a plugin. Then I'll try my best to variablize the stuff that should be dynamic using the various zen functions. Once I feel that I've gotten as far as I can (or have time for - which is really what I mean), I'll put what I've done into a ticket on the trac site.

    In the meantime, should anyone stumble across this thread, you can find the working example on my site for review. If you decide that you want the calendar in its functional, but very preliminary state, let me know and I'll make it available.

    Thanks,
    Adam
    http://www.PigsLipstick.com
  • Hi Adam,

    whats the progress of the plug-in?
    I'm changing my current site and I'm giving Zenpage a try but I'm also looking for a calendar. If you can give me instructions how you integrated the quick calendar, I'm happy to give it a try.

    Regards,

    David
Sign In or Register to comment.