Knowledge Base

Snippets

27
using DotNetNuke.Entities.Profile; string _value = GetUserProfilePropertyValue("MyCustomProfileField").ToString(); public string GetUserProf...

[Read the rest of this article...]

DNN, ProfileProperty
23
public void SetPageName(string PageName) { try { DotNetNuke.Framework.CDefault CustomPageName = (D...

[Read the rest of this article...]

DNN
Posted in: DNN, Custom Modules
16
Select ISNULL(NULLIF(GIBS_FBLineItems.ReportType, ''), '--Undefined--') as ReportType from GIBS_FBLineItems SQL
02
Solved on IIS7.Issue is in the web config the <modules tag needs to be changed to the following: <system.webServer>    <mod...

[Read the rest of this article...]

DNN, IIS 7
Posted in: DNN, Web.Config
06
public void GetPreviousAgents(string _AgentRole) { try { DotNetNuke.Security.Roles.RoleController objRoleController = new DotNetNuke.Securit...

[Read the rest of this article...]

DNN, GetUsersByRoleName, C#
27
#Body { background-image: url(/Portals/2/bg1.jpg);background-size: cover !important; background-attachment: fixed;}
Posted in: DNN, CSS
Page 9 of 47First   Previous   4  5  6  7  8  [9]  10  11  12  13  Next   Last