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 Resources.zip 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 Resources.zip 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.

Thanks,
Wasay



Comments

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 a

KB 294807 - IIS Server - PHP FastCGI 500 Error 0xfffffffe

Resolved issue today of IIS Server - PHP FastCGI 500 Error 0xfffffffe by deleting "Windows Temp" folder files. We used Cygwin to customize some permissions of "Windows Temp" folder and after few hours the website stopped working. The search online was giving all kinds of different solution except what I was looking for. I was hoping the stackoverflow will have answers but even this post didn't cover the issue I was running into. https://stackoverflow.com/questions/15302080/fastcgi-500-failure Restarting the IIS didn't work, but deleting temp files cleared the issue, but now the problem is how long before the site will go down again? Hope the issue is resolved for ever, if not; I will update this post later.

QlikSense - Custom Form Login Screen

Extension of:  Custom login, logout and error forms for Qlik Sense by RPK https://developer.qlik.com/garden/5ada5a8f0c313f5c539dc7fd QlikSense - Custom Login Screen Install Node on QlikSense Server: URL: https://nodejs.org/en/ Saved at: C:\server-tools\Downloads\Node Installed at: C:\server-tools\Runtime\nodejs\ Keep default options Create Folder: C:\QlikForm Clone git Repository and keep updates private: # Open Shell/Bash/Command Prompt cd /QlikForm # Ref: https://medium.com/@bilalbayasut/github-how-to-make-a-fork-of-public-repository-private-6ee8cacaf9d3 git clone --bare https://github.com/kreta99/QS-Custom-Forms .git cd QS-Custom-Forms.git git push --mirror https://github.com/<name>/QS-Custom-Forms.git cd .. (go to parent folder) # remove other users repo clone rm -rf QS-Custom-Forms.git # clone witinc private repo git clone https://github.com/<name>/QS-Custom-Forms.git Get latest copy of login pages: # Open She