My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 94: Request for Enhancement
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Sep 2009


Sign in to add a comment
 
Reported by marie.c....@gmail.com, Sep 10, 2009
Is it possible to add an extra field to the event, a location?  So the
event name is (or could be) followed by a location that is formatted
differently?

Our calendar (www.soapguild.org/industry/calendar.php) has events from all
over the country, so having a location on the calendar would be helpful,
particularly if it could be formatted smaller and/or bold.

I currently have the location as part of the title, so it works, but being
able to format it differently as a unique item would be nice.

Marie

Sep 11, 2009
Project Member #1 adamrs...@gmail.com
Hello, this would already be possible with the eventRender triggered action 
(http://arshaw.com/fullcalendar/docs/#triggered-actions) along with some jQuery dom 
manipulation techniques. here is what you might want to do:

eventRender: function(event, eventElement) {
   eventElement.find('span.event-title').after(
      $("<span style='font-size:10px;font-weight:bold'/>")
         .text(event.location));
}
Sep 22, 2009
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Done
Sign in to add a comment

Powered by Google Project Hosting