Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-2006, 05:23 AM
Active Member
 
Posts: 44
Default zimlet for todays calvin and hobbes help needed

Hi,
i like to build a zimlet that shows the todays calvin and hobbes.

I got a php way to do it:
PHP Code:
$date = isset( $_REQUEST['date'] ) ? $_REQUEST['date'] : time();

'Calvin & Hobbes':
    
// The URL will be something like this:
    // http://images.ucomics.com/comics/ch/1993/ch931203.gif
    // change the year because Calvin & Hobbes is from the past
    
$chyear date'Y'$date )-11;
    
$shortchyear $chyear-1900;
    
$url "http://images.ucomics.com/comics/ch/".$chyear.
           
"/ch".$shortchyear.date'md'$date ).".gif"
And i want it to appear on hovering or on a single page like mail, contacts and calendar.

Can someone pls help me to code it?
This would be really nice and i think it wouldnt take that long, for someone who knew how to do it.
Regards
C.
Reply With Quote
  #2 (permalink)  
Old 10-10-2006, 10:30 AM
Zimbra Employee
 
Posts: 4,792
Default

An easier way would be to put it in the Mini-Cal Check out the RSS-Liv Zimlet on how to access the mini-cal div. You can just set the image to the minical and then dismiss it after you've read it.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.