DotNetNuke Premium Modules - Child Portal Vs Parent Portal and Avilable Vs Assigned

It's feels a little Awkward to be writing something as simple as this but then again, maybe this is why no one has written it and Google couldn't help me find an answer:)

First Awkward Question that took some time finding an answer to?

“What’s the difference between a parent portal and a child portal in DotNetNuke?”

The answer is here:

Just for the sake of redundancy here is a copy paste the answer right here:

“The question of Parent/Child relationship between the portals comes up quite a bit and we have found that referring to the additional portals as "Sub-Portals" instead of Child or Parent portals usually helps.

In other words, a sub-portal can be either a parent or a child. The only difference between the parent and the child is in how it is accessed through the browser. All sub-portals have a sub-directory under the main website root folder and can be accessed on the URL with a domain like www.dnnhost.com/childportal. Parent portals are only sub-portals that can be accessed by using their own domain name like www.parentportal.com

I am glad someone actually wrote this down!!:)

Second Awkward Question:

How To I Control Module Access To Each Child Portal?

In DotNetNuke Each Module can be turned to a premium module by changing its module definition (using the Host / Module Definition menu) and then checking the premium module check box on.

Once this is done if you have multiple portals it allows you to choose which module has been “assigned to” which portal and which module is “Available” to which portal. I feel this wording is a little confusing. It makes to feel as if “Available” would allow you to use the module in that site. Actually it’s the other way round.

So, if you throw a portal from “Assigned To” list box to “Available” list box in the module definition for a module it basically means that this module with NOT be available for that Portal! To use a module in that child you need to throw the child portal (sub-portal) in the “Assigned To” list box.

If any one googles to this page please post a comment let me know - that'll tell me people can now google these two answer and that'll make me a VERY happy man:)

This article is part of the GWB Archives. Original Author: Rajiv Popat

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.