Content Replication for your DotNetNuke Portal
Advanced copying, backup and templating abilities for the content of any existing DotNetNuke Portal. Create templates, or automate portal creation from templates. Includes support for zipping portal files and importing mass portals.
The Portal Duplicator provides advanced copying, backup and templating abilities for the Content of any existing DotNetNuke Portal. With this module you can easily create standardized templates, push content to portals, or automate portal creation from prebuilt templates. This module is available at www.kodhedz.net
With this Administrative Module you can:
- Select which Portal to use for the Template
- Select the Tabs your want to add to the Template
- Select the Roles you want to add to the Template
- Select if you want to copy the Module Contents, or just the Module Instance
- Create an XML Template for use in any portal within the same installation, or in a separate installation.
- Create a child or parent portal in any installation from an existing XML Template
- Modules can be copied using custom built schemas. The schemas are simple references to the structure of the data you will be copying for each module and its nested tables, the schemas are created in XML format.
- Schemas are provided for all of the standard DotNetNuke Core Modules.
- Create Custom Schemas for any of the custom modules you use, so that the Templates you make match the version and structure of your modules. Schemas can be handwritten or created using the KHZ.ARC.Manager Utility available from KodHedZ
- Purchase schemas for the more common Custom Modules from the KódHedZ Store at KodHedZ
- Automated creation of Child Portals via querystring arguments. Allows for redirect to the page from a separate application for portal creation for a predefined portalname, portal administrator, template, and custom keywords for replacement within the content.
- Primary Keys and Foreign Keys are passed to related tables in your custom modules. What this means is you can have a table, Categories, which can pass the new CategoryID to the related tables that use that as a foreign key within their data: ProductCategories, etc, which requires ProductID and CategoryID to be accurate.
- As well, the newly created Primary keys for each nested table are stored and matched to the parent records for continual passing of Primary Keys to the child tables within a module schema.
- Include the Files from your portal homedirectory, so that all files are included in the newly created portal.
- Support for uploading a queue of portals from Excel
- The Portal Duplicator ships with Module Integration Schemas to copy the contents of the modules that are included with DotNetNuke out of the box.
Automating Portal Registration:
You can integrate the Portal Duplicator with the KódHedZ Form Generator to create portals automatically after the registration process. To make this work, you must have both modules installed on the portal instance. You must create the Portal Template using the Duplicator, and you must install the default forms included with the Form Generator module.
Custom Querystring Parameters for use in Creating Portals via URL:
- UID : the UserID to use for the AdministratorID of the new Portal upon creation
- TM : the name of the XML Template to use for this Portal Instance
- PA : the PortalAlias to use for the Name of the new Portal. If you are creating a Child Portal, this name would represent the subfolder name for your child, NOT including the Root application virtual folder. ie “MyChild1” would show in the url as : //localhost/dotnetnuke/mychild1 but would be used in the querystring as “mychild1”. If you are creating a parent folder, this name would be the same as the virtual folder you are using for the application, (www.myname.com).
- IsChild : Optional Boolean value for parent portals, required for child portals. If set to true, the portal is created as a child portal, and the PortalAlias your defined with “PA” variable, is prefixed by the virtual folder name of your portal install : PA = MyChild1 IsChild=True Result: //localhost/Dotnetnuke/Mychild1
- Args : Optional string in key / value format for passing custom KeyWords to search and replace within the New Portal. The string is able to contain multiple Key / Value pairs. These pairs are separated in a fashion similar to the querystring, but using different characters. A querystring separates the values into name value pairs using & and = for the sets. This uses | and ~ for the separators. ie: querystring: &TabID=15&ModuleID=123 duplicator: |TabID~15|ModuleID~123
Installation
- Unzip the main zipfile to a folder on your local system
- Copy the License.txt file which you received in your license email into the main zipfile
- Install in this order, the following files:
- KHZ.Arc.01.00.00.zip
- KHZ.PortalDuplicator.03.00.00.zip (this is the main zipfile which you just unzipped and added your license to)
- AFTER installation of the modules, add a line to your web.config, in the HttpModules section near the top of the file, DIRECTLY AFTER THIS LINE OF THE WEB CONFIG: <add name="Personalization" type="DotNetNuke.HttpModules.PersonalizationModule, DotNetNuke.HttpModules.Personalization" /> THIS IS THE LINE YOU ADD: <add name="KHZ_ARC" type="KHZ.ARC.ARCInit, KHZ.ARC" />
- Now add the module named KHZ Portal Duplicator to your page, and start using it. After activation, a new tab will be added to your Host Menu and the Portal Duplicator will appear there after the cache is reset.