online advent calendar - turn into plugin?

Creating and modifying plugins.
Post Reply
ormus7577
Regular
Posts: 122
Joined: Sat Nov 04, 2006 12:11 pm
Location: Ulm, Germany

online advent calendar - turn into plugin?

Post 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?
Last edited by ormus7577 on Thu Nov 16, 2006 11:56 am, edited 1 time in total.
my installations:
family blog: http://familie.lobenstein.info/
personal blog: http://www.ormus.info/
OrmusTool Homepage: http://tool.ormus.info/
Online Adventskalender: http://www.ormus.info/pages/advent.html
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: online advent calendar - turn into plugin?

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ormus7577
Regular
Posts: 122
Joined: Sat Nov 04, 2006 12:11 pm
Location: Ulm, Germany

Post 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.
my installations:
family blog: http://familie.lobenstein.info/
personal blog: http://www.ormus.info/
OrmusTool Homepage: http://tool.ormus.info/
Online Adventskalender: http://www.ormus.info/pages/advent.html
ormus7577
Regular
Posts: 122
Joined: Sat Nov 04, 2006 12:11 pm
Location: Ulm, Germany

Post 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!
my installations:
family blog: http://familie.lobenstein.info/
personal blog: http://www.ormus.info/
OrmusTool Homepage: http://tool.ormus.info/
Online Adventskalender: http://www.ormus.info/pages/advent.html
Post Reply