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 ForumsEventsEventsProblem with "Disable Month View Cell Events"Problem with "Disable Month View Cell Events"
Previous
 
Next
New Post
9/4/2007 3:53 PM
 

I ran into a similar problem with recurring events. This is how I created the problem:

  • Set up a series of meeting, say, eveny Monday, starting on Sep 10
  • Check Disable Month Cell Events
  • Click the date Sep 10, when there is the first meeting
  • The module reports that "No events for selected date..."
 
New Post
9/4/2007 9:40 PM
 

xws-mika wrote

Have a look at the post of robax in this thread. That helped me when I posted my first (and so far only) bug report.

With your help, I was able to post the bug to Gemini.

Thanks.

 
New Post
9/15/2007 10:55 AM
 

Just to add to this.  I'm wanting to do the same thing as the OP and have noticed (and posted) this issue as well.

I'd love to have a compact calendar displayed in the sidebar of the home page that aggregates ALL events from a portal.

 
New Post
10/16/2007 12:31 PM
 

Hi everyone

The problem is that the events won't be selected by the stored procedure. 
This bug in the stored procedure also causes the problem in week view (not displaying events on last day of week)!

To resolve this you can easily replace this stored procedure. Copy the whole SQL-Script which will first delete and then readd the stored procedure.
- Log in to dnn as host and select "SQL" in the host menu
- Copy and paste the following SQL Script in the textarea
- Activate "Run as script" and click on execute

To restore the script just execute the original SQL File "03.03.08.SqlDataProvider"!
What I did:
I just edited the stored procedure "EventsGetByRange" by replacing "@EndDate" with "DATEADD(DAY,1,@EndDate)" in the WHERE clause (6 times). Added one day and the events will be selected and shown.

I hope this helps until the release of 3.3.9.!

Cheers
Renato

************************ modified SQL Script  (start copy next line) *****

if exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}[{objectQualifier}EventsGetByRange]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure {databaseOwner}[{objectQualifier}EventsGetByRange]
GO

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE {databaseOwner}{objectQualifier}EventsGetByRange
(
 @Modules nvarchar(255),
 @BeginDate datetime,
 @EndDate datetime,
 @Category nvarchar(50)
)
AS
SET DATEFORMAT mdy
IF (LEN(@Modules) = 0)
BEGIN
/** Added for Module Notification Scheduling
 NOTE: This version also checks for SendReminder = True
**/
  SELECT E.PortalID, EventID, ModuleID, EventDateBegin, EventDateEnd,
 EventTimeBegin, Duration, EventName, EventDesc,
 Importance, CreatedDate,
    --CreatedBy = {objectQualifier}Users.FirstName + ' ' + {objectQualifier}Users.LastName,
    CreatedBy = U.DisplayName,
 CreatorID =  E.CreatedBy,
 Every,
 Period,
 RepeatType,
 Notify,
 Approved,
 Signups,
 MaxEnrollment,
  (Select count(*) from {databaseOwner}{objectQualifier}EventsSignups WHERE EventID = E.EventID and E.Signups = 1) as Enrolled,
 EnrollRoleID,
 EnrollFee,
 EnrollType,
 PayPalAccount,
 PayPalPassword,
 Cancelled,
 ImageURL,
 ImageType,
 ImageWidth,
 ImageHeight,
 ImageDisplay,
 E.Location,
 c.LocationName,
 c.MapURL,
 E.Category,
 b.CategoryName,
 b.Color,
 Reminder,
 TimezoneOffset,
 SendReminder,
 ReminderTime,
 ReminderTimeMeasurement,
 ReminderFrom,
 SearchSubmitted,
  (Select ModuleTitle from {databaseOwner}{objectQualifier}Modules WHERE ModuleID = E.ModuleID) as ModuleTitle
  FROM {databaseOwner}{objectQualifier}Events E
  left outer join {databaseOwner}{objectQualifier}Users U on E.CreatedBy = U.UserID
  left join {databaseOwner}{objectQualifier}EventsCategory b on E.Category = b.Category
  left join {databaseOwner}{objectQualifier}EventsLocation c on E.Location = c.Location
  WHERE (((EventTimeBegin <= DATEADD(DAY,1,@EndDate) AND DATEADD(minute,Duration,EventTimeBegin) >= @BeginDate) OR
                   (EventTimeBegin BETWEEN @BeginDate  AND DATEADD(DAY,1,@EndDate)) OR
                   (EventTimeBegin <=DATEADD(DAY,1,@EndDate) AND EventDateEnd >= @BeginDate AND RepeatType <> 'N'))
 AND (ModuleID in (SELECT * FROM {databaseOwner}[{objectQualifier}SplitIDs](@Modules)))
 AND (Approved = 1)
 AND (b.CategoryName = @Category OR @Category = ''))
  ORDER BY EventDateBegin, EventTimeBegin, EventDateEnd
END
ELSE
BEGIN
  SELECT E.PortalID, EventID, ModuleID, EventDateBegin, EventDateEnd,
 EventTimeBegin, Duration, EventName, EventDesc,
 Importance, CreatedDate,
    --CreatedBy = {objectQualifier}Users.FirstName + ' ' + {objectQualifier}Users.LastName,
    createdBy = U.DisplayName,
 CreatorID =  E.CreatedBy,
 Every,
 Period,
 RepeatType,
 Notify,
 Approved,
 Signups,
 MaxEnrollment,
  (Select count(*) from {databaseOwner}{objectQualifier}EventsSignups WHERE EventID = E.EventID and E.Signups = 1) as Enrolled,
 EnrollRoleID,
 EnrollFee,
 EnrollType,
 PayPalAccount,
 PayPalPassword,
 Cancelled,
 ImageURL,
 ImageType,
 ImageWidth,
 ImageHeight,
 ImageDisplay,
 E.Location,
 c.LocationName,
 c.MapURL,
 E.Category,
 b.CategoryName,
 b.Color,
 Reminder,
 TimezoneOffset,
 SendReminder,
 ReminderTime,
 ReminderTimeMeasurement,
  (Select ModuleTitle from {objectQualifier}Modules WHERE ModuleID = E.ModuleID) as ModuleTitle
  FROM {databaseOwner}{objectQualifier}Events E
  left outer join {databaseOwner}{objectQualifier}Users U on E.CreatedBy = U.UserID
  left join {databaseOwner}{objectQualifier}EventsCategory b on E.Category = b.Category
  left join {databaseOwner}{objectQualifier}EventsLocation c on E.Location = c.Location
  WHERE (((EventTimeBegin <= DATEADD(DAY,1,@EndDate) AND DATEADD(minute,Duration,EventTimeBegin) >= @BeginDate) OR
                   (EventTimeBegin BETWEEN @BeginDate  AND DATEADD(DAY,1,@EndDate)) OR
                   (EventTimeBegin <=DATEADD(DAY,1,@EndDate) AND EventDateEnd >= @BeginDate AND RepeatType <> 'N'))
 AND (ModuleID in (SELECT * FROM {databaseOwner}[{objectQualifier}SplitIDs](@Modules)))
 AND (Approved = 1)
 AND (b.CategoryName = @Category OR @Category = ''))
  ORDER BY EventDateBegin, EventTimeBegin, EventDateEnd
END
GO

*****************************  end SQL Script ************************************************************

 
New Post
10/26/2007 10:03 AM
 

YOU MADE MY DAY BY THIS SOLUTUIN (THANK YOU)

now one thing ,I think it is not difficult for u, the details is not open in new window even if I checked this property in event setting. ( when I clicked on the event date it opens the event detail in the same event calender window) how can I fix that?

 

how can I do it ?

 

I really apprecite it.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsProblem with "Disable Month View Cell Events"Problem with "Disable Month View Cell 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