Version: 1.0, by Coroner
Developer Last Online: Dec 2011
Category: Mini Mods -
Version: 3.7.x
Rating:
Released: 11-01-2008
Last Update: 11-03-2008
Installs: 75
DB Changes Uses Plugins Template Edits
Translations
No support by the author.
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 background 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.
P.S. deutschen Support gibt es auch bei your-vb
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I installed this and it seems backwards to me, you can open every door on day one. Is it meant to be like that? If so is it possible to change it so you can't open, say, day 3 until day 3, day 15 until day 15 etc?
You can add Dec. 25 yourself. I did. Just add another day in the advent.htm and then define it in the product xml file. Create a .png image for the 25th and insert it into the place where you want it in the advent.htm file. BUT - it won't show up unless you uninstall the product and then install it again. Here's mine:
I want to make it so that each link loads a webpage. What code do I need to use to be able to do this?
Also, I saw you have to edit the product to change the link in the navbar, how do I do this as I cant find it.
Help is greatly appreciated,
VS
This is a GREAT question. I want to do the same. I've seen it asked a couple of times, but no answer yet. I'm hoping for one. I want it to open a webpage. How?