Show / Hide Table of Contents

Interface IPortalTemplateController

Namespace: DotNetNuke.Abstractions.Portals.Templates
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IPortalTemplateController

Methods

ApplyPortalTemplate(int, IPortalTemplateInfo, int, PortalTemplateModuleAction, bool)

Declaration
void ApplyPortalTemplate(int portalId, IPortalTemplateInfo template, int administratorId, PortalTemplateModuleAction mergeTabs, bool isNewPortal)
Parameters
Type Name Description
int portalId
IPortalTemplateInfo template
int administratorId
PortalTemplateModuleAction mergeTabs
bool isNewPortal

ExportPortalTemplate(int, string, string, bool, IEnumerable<string>, string, IEnumerable<int>, bool, bool, bool, bool, bool)

Declaration
(bool Success, string Message) ExportPortalTemplate(int portalId, string fileName, string description, bool isMultiLanguage, IEnumerable<string> locales, string localizationCulture, IEnumerable<int> exportTabIds, bool includeContent, bool includeFiles, bool includeModules, bool includeProfile, bool includeRoles)
Parameters
Type Name Description
int portalId
string fileName
string description
bool isMultiLanguage
IEnumerable<string> locales
string localizationCulture
IEnumerable<int> exportTabIds
bool includeContent
bool includeFiles
bool includeModules
bool includeProfile
bool includeRoles
Returns
Type Description
(bool Success, string Message)

GetPortalTemplate(string, string)

Declaration
IPortalTemplateInfo GetPortalTemplate(string templatePath, string cultureCode)
Parameters
Type Name Description
string templatePath
string cultureCode
Returns
Type Description
IPortalTemplateInfo

GetPortalTemplates()

Declaration
IList<IPortalTemplateInfo> GetPortalTemplates()
Returns
Type Description
IList<IPortalTemplateInfo>

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS