Skip to main content

(Part 1) DNN Event module customization

(Part 1) DNN Event module customization!
DNN Event module customized with additional fields and annonymous add events functionality

Hi their,

I have just started customizing the events module Events_04.00.02_Source. I will be updating the steps I have taken so far and what I am doing to that I can keep every one upto date about the progress and if I find issues I will be asking for help here.

Steps I have taken so far

  1. Exported the source zip file

  2. Renamed the exported output folder named with xxxx_Events_04.00.02_Source so that I don't mistakenly overwrite it, note I didn't changed the project name or anything else just the folder in which the files are in.

  3. Inside the exported project, I extracted the file into Resources folder, then went inside the resources folder, selected all files and moved it to parent of the resources folder. Yes I could have exported directly their but just thought to explain it better.

  4. deleted the file and the resources empty folder.

  5. On the root exported folder, select the folder name, then properties, and if "Read Only" checkbox seems partially checked then "uncheck" it and click ok, and select "Apply to all files and subfolders".

  6. Opened Microsoft Visual Studio 2008 (If you do not have it then, you can download Visual Studio 2008 Express and SQL 2008 Express from microsoft express sub site for free)

  7. Opened the project and said yes to creating the "DNNEvents" virtual directory on the local iis system, if this virtual directory already exists then go in the iis and delete it before clicking yes.

  8. Double clicked "My Project" > References > Updated by removing the unmatched references of dlls to correct ones

    1. DotNetNuke.dll mapped to the web site bin folder dll

    2. this exported folders DotNetNuke.Events.WebControls.dll

    3. this exported folders DotNetNuke.Events.ScheduleControl.dll

  9. saved the project and closed it

  10. Open the dotnetnuke source solution web site with library project in the root of the solution.

    1. This was pre-setup so it does not have any errors.

  11. Added "Events" module project to the solution

  12. Build solution, results no errors or warnings

  13. Clicked on "+" sign on DotNetNuke.Events module.

  14. Open the Events.aspx file and see what is their and then go to view code mode

    1. if the view does not change to view code, please review the earlier step 3.


This concludes the working Events source code.


  1. In Events.aspx Added
    "<asp:label id="phMainFooter" runat="server"></asp:label>" right below the
    "<asp:placeholder id="phMain" runat="server"></asp:placeholder>"

  2. In Events.aspx.vb added

    Dim txtSuggestAEventURL As String
    txtSuggestAEventURL = "~/DesktopModules/Events/EventAdd.aspx?ItemID=" & itemId & "&Mid=" & ModuleId & "&tabid=" & TabId & "&selecteddate=" & SelectedDate.ToShortDateString & "&culture=" & System.Threading.Thread.CurrentThread.CurrentCulture.Name
    Me.phMainFooter.Text = Me.phMainFooter.Text.ToString & "<a href=""" & txtSuggestAEventURL & """>Suggest a Event < and > to <> respectively.

    right below "Me.phMain.Controls.Add(objPortalModuleBase)" line 119 in 04.00.02 source code version.

This was a part 1 and I will be posting part 2 soon.



Popular posts from this blog

Completed UiPath - RPA Developer Advance Training

After a month of training, with late nights and weekends I have completed the UiPath RPA Developer Advance Training.

The Level 1 Foundation Training pretty much covered all the basics of Desktop studio and workflows, only draw back was I started with the default foundation course which was for 2016, and all document reference links where pointing to 2016 version. I didn't understand it during the foundation training and kept switching to 2018 version document/page.

Only after completing the Foundation course that I realized, I was suppose to have started with the 2018 version of Level 1 Foundation Training, but as it was optional I didn't have to retake the 2018 version, the 2016 was good enough for moving to level 2.

The Level 2 Orchestrator 2018.3 Training as good. It gave good understanding of Queue's, Jobs, and schedules and I was able to complete the level two much faster then the level 1.

The Level 3 UiPath Advanced Training was bit tough as it involved the assignme…

Working hours in six months to a year

I usually try to look for how many hours I have worked on a given project and what hours that I  spend on learning or network management tasks.

Below I have added some hours calculation, after finding the breakdown by months from Berkeley website.


2017Working hours six months (Jan 1st - Jun 30th): 
130 days x 8 hours =  1040 hours

Working hours six months (Jul 1st - Dec 31th): 
130 days x 8 hours =  1040 hours

Working hours for the year:
1040 hours + 1040 hours = 2080 hours
MonthWorking Days in the monthMonthly Working Hrs1/2 of working hrsMidpoint of working days in the monthDates of HolidaysJanuary22176888 a.m. 1/172,16February20160808 a.m. 2/1520March2318492Noon 3/1631April20160808 a.m. 4/17May2318492Noon 5/1629June22176888 a.m. 6/16July2116884Noon 7/174August2318492Noon 8/16September2116884Noon 9/154October22176888 a.m. 10/17November22176888 a.m. 11/1610,23,24December21168…