public TagCloudPortlet() { IncludeChildren = false; Name = "$TagCloudPortlet:PortletDisplayName"; Description = "$TagCloudPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Application); }
public TagCloudPortlet() { IncludeChildren = false; Name = "Tag cloud"; Description = "Portlet for rendering a tag cloud"; Category = new PortletCategory(PortletCategoryType.Application); }
/// <summary> /// Default constructor. /// </summary> public TagAdminPortlet() { Name = "Tag admin"; Description = "Portlet for administrating tags"; Category = new PortletCategory(PortletCategoryType.Application); Tags = "/Root/System/Tags"; UITools.AddStyleSheetToHeader(UITools.GetHeader(), "$skin/styles/SN.Tagging.css"); }
/// <summary> /// Initalize the portlet name and description /// </summary> public EventCalendarPortlet() { Name = "$EventCalendarPortlet:PortletDisplayName"; Description = "$EventCalendarPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Application); this.HiddenProperties.Add("Renderer"); }
/// <summary> /// Initializes a new instance of the <see cref="UserGourpManagerPortlet"/> class. /// </summary> public UserGourpManagerPortlet() { Name = "User Group Manager"; Description = "This portlet is for managing group memeberships of users"; Category = new PortletCategory(PortletCategoryType.Portal); this.HiddenProperties.Add("Renderer"); }
/// <summary> /// Initalize the portlet name and description /// </summary> public EventCalendarPortlet() { Name = "Event calendar"; Description = "Portlet for handling events in calendar view (context bound)"; Category = new PortletCategory(PortletCategoryType.Application); this.HiddenProperties.Add("Renderer"); }
/* ====================================================================================================== Constructor */ public WorkspaceKPIPortlet() { Name = "$WorkspaceKPIPortlet:PortletDisplayName"; Description = "$WorkspaceKPIPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.KPI); HiddenProperties.AddRange(new[] { "SkinPreFix", "Renderer" }); }
/// <summary> /// Default constructor. /// </summary> public TagAdminPortlet() { Name = "$TagAdminPortlet:PortletDisplayName"; Description = "$TagAdminPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Application); Tags = "/Root/System/Tags"; UITools.AddStyleSheetToHeader(UITools.GetHeader(), "$skin/styles/SN.Tagging.css"); }
/// <summary> /// Initializes a new instance of the <see cref="UserGourpManagerPortlet"/> class. /// </summary> public UserGourpManagerPortlet() { Name = "$UserGourpManagerPortlet:PortletDisplayName"; Description = "$UserGourpManagerPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Portal); this.HiddenProperties.Add("Renderer"); }
// -- Constructors ------------------------------------------------ public FormPortlet() { Name = "$FormPortlet:PortletDisplayName"; Description = "$FormPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Application); _isContentValid = false; HiddenProperties.Add("Renderer"); }
// ============================================================================================================ Constructor public ParametricSearchPortlet() { Name = "$ParametricSearchPortlet:PortletDisplayName"; Description = "$ParametricSearchPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Search); Cacheable = false; // by default, caching is switched off _searchParams = new Dictionary <string, string>(); }
/* ====================================================================================================== Constructor */ public GlobalKPIPortlet() { Name = "$GlobalKPIPortlet:PortletDisplayName"; Description = "$GlobalKPIPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.KPI); HiddenProperties.AddRange(new [] { "SkinPreFix", "Renderer" }); HiddenPropertyCategories = new List <string> { "Context binding" }; }
/// <summary> /// Initializes a new instance of the <see cref="StatusCodePortlet"/> class. /// </summary> public StatusCodePortlet() { Name = "$StatusCodePortlet:PortletDisplayName"; Description = "$StatusCodePortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Application); this.HiddenPropertyCategories = new List <string>() { "Content XML" }; this.HiddenProperties.AddRange(new [] { "PortletChromeType", "Renderer", "SkinPreFix" }); }
/// <summary> /// Initializes a new instance of the <see cref="StatusCodePortlet"/> class. /// </summary> public StatusCodePortlet() { Name = "Status Code"; Description = "Portlet for setting status code on page after rendering."; Category = new PortletCategory(PortletCategoryType.Application); this.HiddenPropertyCategories = new List <string>() { "Content XML" }; this.HiddenProperties.AddRange(new [] { "PortletChromeType", "Renderer", "SkinPreFix" }); }
//====================================================================== Constructor public WorkspaceSummaryPortlet() { Name = "$WorkspaceSummaryPortlet:PortletDisplayName"; Description = "$WorkspaceSummaryPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.KPI); this.HiddenPropertyCategories = new List <string>() { EditorCategory.Collection, EditorCategory.ContextBinding }; this.HiddenProperties.AddRange(new[] { "SkinPreFix", "Renderer" }); }
//====================================================================== Constructor public WorkspaceSummaryPortlet() { Name = "Workspace Summary"; Description = "A portlet for displaying list of workspaces and Key Performance Indicators"; Category = new PortletCategory(PortletCategoryType.KPI); this.HiddenPropertyCategories = new List <string>() { EditorCategory.Collection, EditorCategory.ContextBinding }; this.HiddenProperties.AddRange(new[] { "SkinPreFix", "Renderer" }); }
// Constructors /////////////////////////////////////////////////// public ContentCollectionPortlet() { Name = "$ContentCollectionPortlet:PortletDisplayName"; Description = "$ContentCollectionPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Collection); //remove the xml/xslt fields from the hidden collection this.HiddenProperties.RemoveAll(s => XmlFields.Contains(s)); Cacheable = true; // by default, any contentcollection portlet is cached (for visitors) CacheByParams = true; // by default, params are also included -> this is useful for collections with paging }
// ============================================================================================================ Constructor public ParametricSearchPortlet() { Name = "Parametric search"; Description = "An all-purpose portlet for various searches"; Category = new PortletCategory(PortletCategoryType.Search); Cacheable = false; // by default, caching is switched off this.HiddenPropertyCategories = new List <string>() { EditorCategory.Cache }; _searchParams = new Dictionary <string, string>(); }
/// <summary> /// Initalize the portlet name and description /// </summary> public BookCalendarPortlet() { Name = "Book calendar"; Description = "Portlet for displaying upcoming books in calendar view (context bound)"; Category = new PortletCategory(PortletCategoryType.Application); }
public TagEditPortlet() { Name = "$TagEditPortlet:PortletDisplayName"; Description = "$TagEditPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Application); }
public TagEditPortlet() { Name = "Tag edit"; Description = "Portlet for editing tags (context bound)"; Category = new PortletCategory(PortletCategoryType.Application); }
public VotingQuestionAddNewPortlet() { Name = "$VotingQuestionAddNewPortlet:PortletDisplayName"; Description = "$VotingQuestionAddNewPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.ContentOperation); }
public VotingQuestionAddNewPortlet() { Name = "Voting question creator"; Description = "This portlet creates a new question (if there is no other one) for the given voting (context bound)"; Category = new PortletCategory(PortletCategoryType.ContentOperation); }
public TagToBlackListPortlet() { Name = "Tag to blacklist"; Description = "Portlet for blacklisting tags (context bound)"; Category = new PortletCategory(PortletCategoryType.Application); }
public TagDeletePortlet() { Name = "Tag delete"; Description = "Portlet for deleting tags (context bound)"; Category = new PortletCategory(PortletCategoryType.Application); }
/// <summary> /// Initalize the portlet name and description /// </summary> public BookCalendarPortlet() { Name = "$BookCalendarPortlet:PortletDisplayName"; Description = "$BookCalendarPortlet:PortletDescription"; Category = new PortletCategory(PortletCategoryType.Application); }
public ContentSearchPortlet() { Name = SenseNetResourceManager.Current.GetString(ResourceCalssName, "PortletTitle"); Description = SenseNetResourceManager.Current.GetString(ResourceCalssName, "PortletDescription"); Category = new PortletCategory(PortletCategoryType.Search); }
public ContentSearchPortlet() { Name = string.Format("${0}:PortletTitle", ResourceClassName); Description = string.Format("${0}:PortletDescription", ResourceClassName); Category = new PortletCategory(PortletCategoryType.Search); }