My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 922: How to make display of other fields except the name in event?
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  May 2011


Sign in to add a comment
 
Reported by AlexNori...@gmail.com, Apr 20, 2011
Hello.
By working out of a calendar on the basis of a plug-in fullCalendar there was a necessity for event display to include some the fields. By default there only the name of event and time. One decision has been found only - in a callback renderEvent contents of deduced blocks changed as it is necessary. However this method has very much slowed down calendar work. 
Can there is other, more correct way?
If isn't present, you couldn't send the full version of a plug-in without optimization and with correct names of variables on an e-mail AlexNorin721@gmail.com for the purpose of its optimization under my specific goals?
Yours faithfully, Norin Alexey.

Apr 20, 2011
#1 p.stud...@gmail.com
There are several ways to add extra fields into the "event.title"
I assume your feed has extra fields passed to it? and that you want to change all the event.titles on the first view.

Some way to achieve this is to get your data before starting the calendar. and change the "title" with all the information you need. I think this will be the fastest way.
Like javaScript array building.

Another way to do this on demand is to use the onClick event and use jQuery to probe the passed 'event' and add your custom fields to the 'event.title' - But you would have to click on it.

I am sure there are other ways but i have never explored it so far. I do something similar on my calendar feed. But when a user clicks on an event it changes views and I get another source that renders the title on server for me.

Hope that helps you somehow..




http://arshaw.com/fullcalendar/docs/event_data/Event_Object/
May 8, 2011
Project Member #2 adamrs...@gmail.com
eventRender is your best bet:
http://arshaw.com/fullcalendar/docs/event_rendering/eventRender/
Status: Done
Sign in to add a comment

Powered by Google Project Hosting