Issue Details (XML | Word | Printable)

Key: CAL-237
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Jonathan Nolen
Reporter: John Martin
Votes: 3
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Confluence Calendar Plugin

Calendar-Events Macro Should Allow Limit Output to Titles

Created: 23/Feb/08 08:34 AM   Updated: 04/Nov/08 10:55 AM
Component/s: {calendar}
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Labels: feature


 Description  « Hide
The calendar-events macro will show all the contents of the description and this can be pretty large and ugly for each event, especially when the calendar is displaying items from Google calendars via remote calendars. So, it would be nice if the calendar-events macro had a parameter to limit the output to titles, perhaps like the blog-posts macro (it has a parameter called content, which can equal "title", "excerpts" or "entire").

 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
John Martin added a comment - 06/Mar/08 08:47 AM
I modified the description because I don't think that excerpts makes sense in this context. You're not likely to put the excerpts macro around a part of the description in a calendar event.

Michael Spoonauer added a comment - 20/May/08 12:07 PM
I believe that this macro should allow you to specify the exact attributes of events that you would like to show (the default can be all). This provides for much greater flexibility, and won't require you to refactor this macro later to expose yet more options.

So the macro would allow for something like:

{calendar-events:page=...|calendarId=...|show=summary,location,description,link,time,organizer,(all)}

Thanks,
Mike