Processess a template file for the new portal.
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void ParseTemplate( int portalId, PortalController..::..PortalTemplateInfo template, int administratorId, PortalTemplateModuleAction mergeTabs, bool isNewPortal ) |
Visual Basic |
---|
Sub ParseTemplate ( portalId As Integer, template As PortalController..::..PortalTemplateInfo, administratorId As Integer, mergeTabs As PortalTemplateModuleAction, isNewPortal As Boolean ) |
Parameters
- portalId
- Type: System..::..Int32
PortalId of the new portal
- template
- Type: DotNetNuke.Entities.Portals..::..PortalController..::..PortalTemplateInfo
The template
- administratorId
- Type: System..::..Int32
UserId for the portal administrator. This is used to assign roles to this user
- mergeTabs
- Type: DotNetNuke.Entities.Portals..::..PortalTemplateModuleAction
Flag to determine whether Module content is merged.
- isNewPortal
- Type: System..::..Boolean
Flag to determine is the template is applied to an existing portal or a new one.
Remarks
The roles and settings nodes will only be processed on the portal template file.