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 ForumsEventsEventsModifying Events module to support "group enrollment"Modifying Events module to support "group enrollment"
Previous
 
Next
New Post
12/29/2009 9:34 AM
 

I'd like to modify the Events module to allow a user to enroll multiple participants at once with the related payment calculations. I'm supporting a PTA website that  and we want to support online payment for things like an ice skating event where a parent will sign up their family for the event where it costs $5 per person. I'm primarily a Java developer, but I've managed to write and deploy a couple of simple modules so far. I've just now started looking at the Events module code, and was wondering if someone familiar with the code could give me some pointers to help me figure out how to implement this fun. This is a really useful module and I hope to be able to contribute to the project from time to time once I get up to speed. I've seen two modules that we could purchase for a reasonable price, but I'd prefer to contribute to the Events module project instead.

 
New Post
12/29/2009 11:25 AM
 

Hi,

There have been a number of requests for multiple enrollments, and I'm pretty sure this will be added in a future release. I can imagine that the first version of this would just allow the person doing the enrollment to enter the number of enrollments. Major places the code need changing:-

  • EventDetails to add the extra input field
  • EventPPEnroll to do some maths on the price and display what the enroller is going to pay
  • EventModerate to show the number enrollees to the moderator
  • EventsGetByRange sproc to change the maths in the retrieved Enrolled value
  • Update EventSignups table and associated sprocs to store the number of seats. Currently a Signups record represent 1 seat.

There may be more, but that is what I can think of for now.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
12/31/2009 9:18 AM
 

Thanks Roger! That is just what I was looking for.

I'm getting the following error messages when I try to build the Events module (05.00.02) from the source download. I unzipped the source zip file under the DesktopModules directory and also unzipped the nested Resources.zip file to the same location. Is there something else I need to configure in Visual Studio 2008 Express Edition to resolve these issues?

Error    141    Could not load type 'DotNetNuke.Modules.Events.EventTemplateHelp'.    C:\apps\DotNetNuke\DesktopModules\Events\EventTemplateHelp.ascx    1   
Error    142    Could not load type 'DotNetNuke.Modules.Events.EventRSS'.    C:\apps\DotNetNuke\DesktopModules\Events\EventRSS.aspx    1   
Error    187    Name 'cmdvEvent' is not declared.    C:\apps\DotNetNuke\DesktopModules\Events\EventDetails.ascx.vb    78    56    C:\apps\DotNetNuke\
Error    188    Name 'cmdvEventSeries' is not declared.    C:\apps\DotNetNuke\DesktopModules\Events\EventDetails.ascx.vb    79    56    C:\apps\DotNetNuke\
Error    189    'pnlEventsModuleDetails' is not a member of 'DotNetNuke.Modules.Events.EventDetails'.    C:\apps\DotNetNuke\DesktopModules\Events\EventDetails.ascx.vb    92    30    C:\apps\DotNetNuke\
Error    190    Name 'cboTimeZone' is not declared.    C:\apps\DotNetNuke\DesktopModules\Events\EventDetails.ascx.vb    109    81    C:\apps\DotNetNuke\
 

 
New Post
12/31/2009 1:34 PM
 

Sorry, not an expert at solving these issues, since I never use the source package to create my dev environment since I have access to the code repository.

Other than that, I would:-

  • Install the install package - in theory you can install the source package, but I've never done it that way
  • Unzip the source package, and resources to the same location
  • Configure the solution and proj files to point to the correct iis urls
  • Update any incorrect references
  • Add a website to the solution

But that's me, whilst I do a fair amount of the work on the Events module, I'm not a Visual Studio expert...

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsModifying Events module to support "group enrollment"Modifying Events module to support "group enrollment"


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