Page 1 of 1

Displaying end time in week view

PostPosted: Wed May 19, 2010 9:36 am
by stevenm187
as the title says I've been trying to find a way to display the end time of an event in week view. I was able to do it in day view following hte instructions on the documentation but it does not work for week view.

Everyone at the office prefers week view over anything and I need to be able to display the enditng time and not just the start time.

Is that even possible?

And also would I be able to make week view the default view instead of day?

All help would be greatly appreciated I've been kind of stuck with these for a while.

PostPosted: Wed May 19, 2010 10:06 am
by John Sindelar
So you can edit the information showing up in any calendar view by editing the script "Format Event Time --- Edit Time Formats for Events Here ---"

The last SetVariable step in that script controls what is shown in the calendar. You can add the end time by including this...

GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] )

... before the summary. You'll see we're doing a lot of transformations there to get the time formatted, you can replicate all that for end time if you wish. Or send me a note (john at seedcode.com) and I can get you a price for doing it. I'd give it a shot yourself though.

Defaulting to week view is easier: all you need to do is designate a new default tab. Learn more here: http://www.seedcode.com/pmwiki/pmwiki.p ... lendarTabs

Hope that helps.

PostPosted: Wed May 19, 2010 11:00 am
by stevenm187
John Sindelar wrote:So you can edit the information showing up in any calendar view by editing the script "Format Event Time --- Edit Time Formats for Events Here ---"

The last SetVariable step in that script controls what is shown in the calendar. You can add the end time by including this...

GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] )

... before the summary. You'll see we're doing a lot of transformations there to get the time formatted, you can replicate all that for end time if you wish. Or send me a note (john at seedcode.com) and I can get you a price for doing it. I'd give it a shot yourself though.

Defaulting to week view is easier: all you need to do is designate a new default tab. Learn more here: http://www.seedcode.com/pmwiki/pmwiki.p ... lendarTabs

Hope that helps.


Thanks a bunch. That was simple enough.

Only thing now is that in week view I am no longer able to view the summary because the timestart and timeend take th elittle space that was given.

i created a calc field...set this as the calculation:

List (
TextStyleAdd ( Summary ; Bold ) ;
Description
)

but it does not make it a multine. I'm trying to figure out what I am missing

PostPosted: Wed May 19, 2010 2:22 pm
by John Sindelar
Can't do much about the lack of space, but you can

a) click the vertical border between the calendar and the status area to show just the calendar (and hence enlarge it)

b) drag the window to be larger on your monitor

c) "go big": http://www.seedcode.com/pmwiki/pmwiki.p ... mizeWindow

Making the description multi line probably won't help unless you get the summary on the second line. Learn more here:

http://www.seedcode.com/pmwiki/pmwiki.p ... LineEvents

Hope that helps (this is what we don't show the end time by default... no room).