Custom Modules

Snippets

DotNetNuke Custom Modules

23
Link to photo slideshow:  <div style="margin: auto;width: 100%;text-align: center;">[PHOTOWITHBORDER]</div> <div style="text-ali...

[Read the rest of this article...]

Ventrian Simple Gallery
15
I had a need for getting a property details for a SSR report and came up with the following store procedure  . . . I thought it might be useful t...

[Read the rest of this article...]

Ventrian Property Agent
26
DotNetNuke.Services.Log.EventLog.EventLogController objEventLog = new DotNetNuke.Services.Log.EventLog.EventLogController(); objEvent...

[Read the rest of this article...]

DNN Event Viewer
30
function OpenDialog(url, height, width, title) { var vurl = url; var vheight = height; var vwidth = width; var v...

[Read the rest of this article...]

DNN, jQuery, modal
Posted in: DNN, Custom Modules
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
06
public void GetPreviousAgents(string _AgentRole) { try { DotNetNuke.Security.Roles.RoleController objRoleController = new DotNetNuke.Securit...

[Read the rest of this article...]

DNN, GetUsersByRoleName, C#
24
protected override void OnInit(EventArgs e) { base.OnInit(e); JavaScript.RequestRegistration(CommonJs....

[Read the rest of this article...]

17
Note that you must define a login page in the Admin/Site Settings module. if (!IsPostBack) { if (UserId == -1) { Response.Redirect(Globals....

[Read the rest of this article...]

16
UserInfo u = new UserInfo(); u = UserController.GetUserById(PortalId, DnnUserId);            ...

[Read the rest of this article...]

Posted in: DNN, Custom Modules
Page 3 of 4First   Previous   1  2  [3]  4  Next   Last