Page 1 of 1

online advent calendar - turn into plugin?

Posted: Wed Nov 15, 2006 9:54 pm
by ormus7577
Hi everyone...

I've created an online advent calendar (have to make up for all that world cup 2006 ticket madness) (seen under http://www.ormus.info/archives/3-online ... lable.html).
I know, I'm not much of a designer, need help on that. But hey, it's working!

I would like to integrate it as deeply as possible into a current s9y installation. Is that even possible? It pretty much needs as much screen as it can get...

Would it be possible to put it into a static page?

Re: online advent calendar - turn into plugin?

Posted: Thu Nov 16, 2006 9:37 am
by garvinhicking
Hi!

Of course the coolest thing would be to turn it into a s9y plugin. Much cooler even to integrate it with the serendipity "MyCalendar" plugin!

You could either use an iframe display to show your calendar in the blog, or (cooler) you could use the event plugin to hook on the 'entries_display' event hook (like staticpage, g2embed and others do that take full content) and then output your content.

Since you were able to create the PHP calendar, you might want to have a go at integrating it into the mycalendar plugin? Have a look at the serendipity_event_wrapurl or serendipity_event_includephp plugin (both spartacus repository) which is the most simple plugin to wrap content; there you can try to simply output your code?

Best regards,
Garvin

Posted: Thu Nov 16, 2006 11:59 am
by ormus7577
Hi Garvin,

thanx for the pointers, I'll check them out in the evening...

Time (until 1st Dec) is short, let's see if I can make quick progress.

Posted: Thu Nov 30, 2006 8:58 pm
by ormus7577
I couldn't make it :( Primarily because I've redesigned the calendar pretty much from scratch. It's now more pleasant to watch.

Feel free to check it out and use it: http://ormus.info/archives/4-online-Adv ... -v2.0.html

I'll try to tackle the plugin possibilities in time for december 2007 :wink:

Still, thanx for your ideas, Garvin!