Advent Calender 2008

MobileHacks

New Member
What is it ?
It's a simply Advent Calendar. I've filled it with images,music and videos (youtube or myvideo).
Each day (there are only 24) can have an image url or data (data like: <object ....).

How does it works ?
Like an advent calendar. I've created an simply template with an iframe in it. In this frame you will see a background-picture, doors (is the word correct ?) (calendar days) and - if you set it to on - snowflakes.
This calendar can only use on december and a day will only open if it's the correct day or an earlier day.
Example: it's 7th of december, so you can open all day include the 7th.
Each day will give a popup window (you can change the size for each day).
If you try to open a calendar day on a later date it will give you an error (confirm script) - this can also, when a day is "empty".
Empty means:
You have entered an image-url but selected "data" (in admincp) or you selected "image" but the image-url is empty.
After install all 24 days are filled will "funny movies", "pictures", "flash" or "music". You can change everything you like.

There are a few settings (is online, snowflakes on/of and count of snowflakes).
Also there are only 2 permissions:
- the permission to use the calendar
- the permission to test the calendar

If you set a usergroup to test the calendar, the users can see and click all the days of the calendar - that needed for testing !

Some technical
The iframe-size is set to 1024x768 and can changed in the template adventcalendar.
All images, javascript and the backgoung html lies in: images/advent.
If you wanna change the backgound-image, change "images/advent/wallpaper.jpg".
The snowflake image can also changed (images/advent/snowflake.gif)

Installation
There is NO installation READ.ME !
Simply upload all files and import the product.
The product creates a plugin that used $template_hook[navbar_buttons_left] for the navbar.
 
Back
Top