Knowledge Base

Snippets

01
@media print { a[href]:after { content: none !important; } } Printing
Posted in: CSS
26
DotNetNuke.Services.Log.EventLog.EventLogController objEventLog = new DotNetNuke.Services.Log.EventLog.EventLogController(); objEvent...

[Read the rest of this article...]

DNN Event Viewer
20
function SetCookie(cookieName, cookieValue, nDays) { var today = new Date(); var expire = new Date(); if (nDays == null || nDays == 0) ...

[Read the rest of this article...]

JavaScript
17
Place the following code in the HEAD of the html: P.pagebreakhere {page-break-before: always} Then place the following code in the BODY of the...

[Read the rest of this article...]

Posted in: CSS
24
Get a list of the database names and database size in a sql server instance using tsql: EXEC sp_databases sp_databases
08
Try running . . . . exec sp_updatestats; SQL, DNN
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
16
Select ISNULL(NULLIF(GIBS_FBLineItems.ReportType, ''), '--Undefined--') as ReportType from GIBS_FBLineItems SQL
Page 11 of 34First   Previous   6  7  8  9  10  [11]  12  13  14  15  Next   Last