tag:blogger.com,1999:blog-32442424.post2636649718704515739..comments2024-02-11T10:17:31.048+00:00Comments on Chris Cant's developer blog: Writing DNN custom modulesChris Canthttp://www.blogger.com/profile/11367082039820244178noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-32442424.post-37897685896207013132010-05-21T09:25:24.436+01:002010-05-21T09:25:24.436+01:00Not sure if it's relevant, but have you seen t...Not sure if it's relevant, but have you seen this:<br /><br />http://chriscant.phdcc.com/2008/05/dnn-module-and-tab-module-settings.htmlChris Canthttps://www.blogger.com/profile/11367082039820244178noreply@blogger.comtag:blogger.com,1999:blog-32442424.post-36746566099708953802010-05-20T22:29:37.550+01:002010-05-20T22:29:37.550+01:00I have an issue with updating settings (settings.a...I have an issue with updating settings (settings.ascx) from another desktop module control (say start.ascx). Module update works on localhost but not on network DNN install. On network - updating from settings control updates the start control settings just fine but the reverse seems to fail on network. <br /><br />I notice differences exist between settings of both controls:<br /><br />To get the settings in start control - I use a hashtable. In Settings control - I use Settings[].<br /><br />To process updates in Settings control I use: 'this.ModuleId'.<br />In start control I use: <br />int modID = modules.GetModuleByDefinition(portalID, AppModuleSettings.AppName).ModuleID;<br /><br />The portalid is found using:<br />ModuleController modules = new ModuleController();<br /><br />int portalID = PortalSettings.ActiveTab.ParentId;<br /><br />if (PortalSettings.PortalId != null)<br />{ portalID = PortalSettings.PortalId;<br />}<br /><br />I update all instances using:<br />modules.UpdateModuleSetting(...);<br /><br />ModuleController.SynchronizeModule(this.ModuleId);<br /><br />Can they be updating the wrong moduleid or even portalid? Or shouldn't the code be more similar?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-32442424.post-45119805881808623242009-09-17T15:39:21.637+01:002009-09-17T15:39:21.637+01:00In DNN 5 custom modules and skins are called exten...In DNN 5 custom modules and skins are called extension packages. DNN4 modules, as described above, will install in DNN5 as an extension package.<br /><br />I did a quick search and found a couple of pages that specifically descibe DNN 5 extension packaging:<br /><br />http://www.erikvanballegoij.com/tabId/36/itemId/24/DotNetNuke-5-Extension-packaging.aspx<br /><br />http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/109/threadid/276990/scope/posts/Default.aspxChris Canthttps://www.blogger.com/profile/11367082039820244178noreply@blogger.comtag:blogger.com,1999:blog-32442424.post-28325413091105913782009-09-17T10:25:33.899+01:002009-09-17T10:25:33.899+01:00how to create a extension packagehow to create a extension packageTarunhttps://www.blogger.com/profile/07204195941795773104noreply@blogger.com