[Tickets #10100] Re: Embed the events from two calendars combined with one widget?

bugs at horde.org bugs at horde.org
Mon May 23 13:19:19 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10100
------------------------------------------------------------------------------
  Ticket             | 10100
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Embed the events from two  calendars combined with one
                     | widget?
  Queue              | Kronolith
  Version            | Git master
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2011-05-23 13:19) wrote:

>> I don't understand at all what you are requesting.
> I didn't do a great job of explaining it.  The calendar summary in  
> the portal is perfect.  You can select your calendars and how many  
> weeks to show.  It would be really nice if the summary in the widget  
> worked the same way as the one in the portal.

It does. You can select either a single calendar or '__all' as the  
calendar to show all calendars (I plan on tweaking - and improving the  
help text - as mentioned in the previous post). You can also specify  
the time period as well, just pass the same parameter name the block  
uses in the query parameters. The help text for kronolith shows this  
(though I just realized it needs to be updated to reflect the new url  
for ajax imples).

Example upcoming events (monthlist) - show 2 months worth of events,  
but with a max. of 10 events:

<div id="kronolist"></div><script  
src="http://host.example.com/horde/services/imple.php?imple=Embed/impleApp=kronolith/view=monthlist/calendar=calendar_name/container=kronolist/months=2/ maxevents=10"  
type="text/javascript"></script>

or for the summary view (show 7 days worth of events only with alarms  
but only show up to 20 events max):

<div id="kronosummary"> </div><script type="text/javascript"  
src="http://hostname.example.com/horde/services/imple.php?imple=Embed/impleApp=kronolith/container=kronosummary/view=summary/calendar=calendar_name/days=7/maxvents=20/alarms=1"></script>



   What I ended up doing
> was using http://myserver/horde/services/portal/index.php instead as  
> it allowed me to set the calendars to show in  
> /horde/config/prefs.local.php.  Does that make sense?

No :) No idea what you are saying here.







More information about the bugs mailing list