Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Modules - That's a term that's very loosely used by all of us.</p> <p>Clearer Definitions</p> <ul> <li>Package = Zip file (Not Module)</li> <li>Manifest = .DNN file</li> </ul> <p>The manifest allows you to define Modules(group of View/Edit/Settings) user controls as a single installation package.</p> <p>In the DNN 3.0 manifest, if you're still in this format, you'll notice that a basic single installation package is structured like this (briefly)</p> <pre><code>&lt;dotnetnuke version="3.0" type="Module"&gt; &lt;folders&gt; &lt;folder&gt; &lt;name&gt;Side bar Navigation&lt;/name&gt; &lt;modules&gt; &lt;module&gt; &lt;friendlyname&gt;&lt;/friendlyname&gt; &lt;cachetime&gt;0&lt;/cachetime&gt; &lt;controls&gt; &lt;control&gt; &lt;title&gt;View&lt;/title&gt; &lt;src&gt;DesktopModules/Module/View.ascx&lt;/src&gt; &lt;type&gt;View&lt;/type&gt; &lt;/control&gt; &lt;control&gt; &lt;key&gt;Settings&lt;/key&gt; &lt;title&gt;Settings&lt;/title&gt; &lt;src&gt;DesktopModules/Module/Settings.ascx&lt;/src&gt; &lt;type&gt;Edit&lt;/type&gt; &lt;/control&gt; &lt;/controls&gt; &lt;/module&gt; &lt;/modules&gt; &lt;files&gt; ... &lt;/files&gt; &lt;/folder&gt; &lt;/folders&gt; &lt;/dotnetnuke&gt; </code></pre> <p><em>So that above defines a Single Module in an Installation Package.</em></p> <p><strong>In the context of a blog, you would have 2 modules</strong></p> <ol> <li>Blog Display Module (displays a selected blog or just the whole lot)</li> <li>Sidebar Navigation Module (Helps you to display quickly the blogs you've written for an any period of time)</li> </ol> <p>What you can do is to package the Blog Display Module in the manifest in a copy of <code>&lt;folder&gt;&lt;/folder&gt;</code> and then the Sidebar Navigation Module in another copy of the <code>&lt;folder&gt;&lt;/folder&gt;</code> structure.</p> <p><strong>For example, this project has 7 modules; Side bar navigation, custom search module, blah blah blah</strong></p> <pre><code>&lt;dotnetnuke version="3.0" type="Module"&gt; &lt;folders&gt; &lt;folder&gt;...&lt;/folder&gt; &lt;folder&gt;...&lt;/folder&gt; &lt;folder&gt;...&lt;/folder&gt; &lt;folder&gt;...&lt;/folder&gt; &lt;folder&gt;...&lt;/folder&gt; &lt;folder&gt;...&lt;/folder&gt; &lt;folder&gt;...&lt;/folder&gt; &lt;/folders&gt; &lt;/dotnetnuke&gt; </code></pre> <ol> <li>1 Installation Package (Which means 1 Web App Project)</li> <li>7 Modules</li> <li>One assembly to place in the bin/</li> <li>All code is shared and you can then inherit from other library references to develop further.</li> </ol> <p><em>They have different views, names, friendlynames but all share one common <code>&lt;foldername&gt;</code></em></p> <p><strong>The KEY is in the Packaging.</strong></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload