Category Archives: DotNetNuke

Programmatically add page and html module with content DotNetNuke DNN


Here is how to create a page/tab on a DNN site then add a module to the tab/page and then fill the HTML module content.     PortalSettings portalSettings = new PortalSettings(); int portalId = portalSettings.PortalId; string defaultPortalSkin = portalSettings.DefaultPortalSkin; … Continue reading

Posted in DotNetNuke | 9 Comments

Lost/Reinstalling HTML, Messaging, Taxonomy, Telerik DotNetNuke (DNN) module.


I installed a 3e party DNN module that would replace my original HTML content module. but after some testing I did not really like the 3e party approval HTML module so I decided to uninstall it, when I uninstalled it, … Continue reading

Posted in DotNetNuke | Leave a comment

Get Portal URL in html module


first you go to the settings page of your html module that you have placed on a page, and check the checkbox “Replace Tokens”   then click the save button, and go to the edit content section of your html … Continue reading

Posted in DotNetNuke | Leave a comment

How to change Portal Aliases in DotNetNuke, Before moving portal form local to other server with same database


Before you move your DotNetNuke portal to another server,  and you are using the same database connection string its best  to add the new domain name/HttpAlias in the site settings –> advanced settings  area in the admin page of your … Continue reading

Posted in DotNetNuke | Leave a comment

Publishing/moving Dotnetnuke site from local to other/production server with same database connection string


ErrorPage.aspx?status=500&error=Thread+was+being+aborted. when working on a DotNetNuke site on your local dev server (ex http://localhost:2542/Dnn/) and using the same database connection stringand you want to move/publish your local site to a production server (ex http://www.myserver.com/dnn)you might get the error ErrorPage.aspx?status=500&error=Thread+was+being+aborted, when … Continue reading

Posted in DotNetNuke | Leave a comment