Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Events Module [...  Module Error - Help Me Please
Previous Previous
 
Next Next
New Post 8/28/2007 12:47 PM
User is offline Michael Hagar
76 posts
www.911TruthGroups.org
10th Ranked


Re: Module Error - Help Me Please 

Thanks xws-mika!  for having the clear mind to look deep enough to see there were two different problems.  I apologize for muddying the water for the initial poster.

Your work around for my problem appears to have worked so far.  I hope to see an updated version of the control so the Categories feature can be used.

Thanks again,

Mike (BOSSupport)

 
New Post 10/7/2007 7:21 AM
User is offline Bumfluff
6 posts
10th Ranked


Re: Module Error - Help Me Please 

Hi,

I posted this on another thread, so reposting again here.

The message: "The added or subtracted value results in an un-representable DateTime" in the Events module is a bug (IMHO) - it assumes someone has selected a date on the Calendar, but when the first time the module loads no selection has been made (and the code tries to use year 1).

To fix, adjust the following section in DestopModules\Events\EventMonth.aspx.vb (03.03.08) around line 170:

 

'****DO NOT CHANGE THE NEXT SECTION FOR ML CODING ****' Used Only to select view dates on Event Month View...NOTE: SelectedDate is NOTE!!! Dim initDate As Date = New Date(Me.SelectedDate.Year, Me.SelectedDate.Month, 1)  
 
 
 
'KS fix bug where date has not been selected yet, so set to first of current month  If Me.SelectedDate.Year = 1 Then End If
 
    initDate = DateAdd(DateInterval.Day, (1 - Today.Day), Today)
 
 ' Allow for Prev Month days in View   
startDate = initDate.AddDays(-10)
 

 

 

Cheers,

Kent

 
New Post 10/7/2007 9:08 AM
User is offline Bumfluff
6 posts
10th Ranked


Re: Module Error - Help Me Please 

Sorry, I had a lot of difficulties formatting with the FCKEditor...

The code should have read:


'****DO NOT CHANGE THE NEXT SECTION FOR ML CODING ****
' Used Only to select view dates on Event Month View...NOTE: SelectedDate is NOTE!!!
Dim initDate As Date = New Date(Me.SelectedDate.Year, Me.SelectedDate.Month, 1)

'KS fix bug where date has not been selected yet, so set to first of current month
If Me.SelectedDate.Year = 1 Then
    initDate = DateAdd(DateInterval.Day, (1 - Today.Day), Today)
End If

startDate = initDate.AddDays(-10) ' Allow for Prev Month days in View
' Load 2 months of events. This used to load only the events for the current month,


Cheers

 
New Post 10/7/2007 11:53 AM
User is offline Michael Kamp
482 posts
8th Ranked




Re: Module Error - Help Me Please 

Thanks, bumfluff!

 
New Post 6/4/2008 9:31 AM
User is offline MichaelMach
12 posts
www.lgisd.net
10th Ranked


Re: Module Error - Help Me Please 

Thank you for the tip.  I had upgraded the events calendar and discovered this problem.  It's now working. 

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Events Module [...  Module Error - Help Me Please
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP