Products

Solutions

Resources

Partners

Community

About

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
1/7/2008 2:38 PM
 

Renato,

Thanks for your fix.  I can't believe I just now came across it.

 
New Post
2/1/2008 12:52 PM
 

Renato Morell wrote

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

####SNIIP####

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

 

I played with this until 5am this morning. Work is really sucking about now..lol..

The fix didnt work for me.

I did get as far as being able to click a day and show the events after hacking the sqlprovider files, but an event that spanned more than one day would move around date-wise. Like.. if it was 2/1 to 2/5, click 2/1, all good. click 2/2 and the new dates are 2/2-2/6. Click 2/3 and get the event date reported as 2/3-2/7. It appears to take the date clicked and use it as some starting or additive deal, adding how many days into the span to both the beginning and end event dates. Whats wierd is if you change it to a list or other view, the event date is correct.

This makes little timmy a little bit crazy.

 
New Post
9/15/2008 7:25 AM
 

Thanks mann this was helpful for my Project. :)

 

 
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