Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsAll Day Events?All Day Events?
Previous
 
Next
New Post
6/6/2007 9:18 AM
 

What I did was to replace the Start Time - End Time with Start Time - Duration on the "Add Event" page. The duration field is a dropdown box. Here are the first few entries.

<option value="1440">All Day</option>
<option value="0">Note (No Duration)</option>
<option value="30">30 minutes</option>
<option value="60">1 hour </option>
<option value="90">1 hour 30 minutes</option>
<option value="120">2 hours </option>

Internally the events are stored as StartTime/Duration, so this change did not effect the data.

When showing the event I look for a duration of 1440 and display "All Day" instead of the time.

A zero duration event is just a note or comment in the calendar. The note appears at the start time but duration is not shown.

The other values in the dropdown box are auto-generated based on the Calendar's "Time Interval" setting.

Dan

 
New Post
6/6/2007 10:38 AM
 

This does not address the issue, I noted below!  You first need to address how  "All Day" events will be differentiated in the User Interface (All Views: Monthly, Daily, Weekly).  This the key to making this work...and should be addressed with users of the module that the plan will be acceptable.  It was never an issue on how to capture the input data.

 
New Post
6/6/2007 11:44 AM
 

Sorry, I didn't made myself clear. I wasn't trying address all the problems of adding  "real" all day events.

I was only suggesting to the original poster that presenting the 24 hour event duration choice as "All Day" may be a way for them to add an "All Day" option without making a ton of changes to the code.

The above "All Day" event will just be a normal event lasting 1440 minutes unless they change the various calendars to display it differently.  This method is also very ugly if your users span multiple time zones.

Questions and comments welcome.

Dan

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsAll Day Events?All Day Events?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out