*
*
*
*
ArchiveRegister | Login 
Viewing Category

Current Articles | Categories | Search | Syndication

Articles from How-To
Tuesday, February 28, 2006
What modules are you using?
By Richard Edwards @ 3:00 AM :: 814 Views :: 0 Comments :: :: DotNetNuke, How-To
Here is a quick script to determine the modules you are using and in which portals. You can run this in the Host|SQL module or download the free SQLView module and plunk it on your own admin page.

SELECT     dbo.DesktopModules.FriendlyName, dbo.Portals.PortalName, count(*) [Times Used]

FROM         dbo.Modules INNER JOIN
                      dbo.Portals ON dbo.Modules.PortalID = dbo.Portals.PortalID INNER JOIN
                      dbo.ModuleDefinitions ON dbo.Modules.ModuleDefID = dbo.ModuleDefinitions.ModuleDefID INNER JOIN
                      dbo.TabModules ON dbo.Modules.ModuleID = dbo.TabModules.ModuleID INNER JOIN
              dbo.DesktopModules ON dbo.ModuleDefinitions.DesktopModuleID = dbo.DesktopModules.DesktopModuleID
        
WHERE     
    -- filter out deleted modules
      (dbo.Modules.IsDeleted = 0)
    and
    -- filter out the admin modules
      (dbo.DesktopModules.IsAdmin = 0)

GROUP BY dbo.DesktopModules.FriendlyName, dbo.Portals.PortalName

Monday, January 30, 2006
Creating a DotNetNuke module for Absolute Beginners
By Richard Edwards @ 3:00 AM :: 1330 Views :: 0 Comments :: :: DotNetNuke, How-To
Just wanted to point out a very good article on creating a DotNetNuke Module if you are new to DotNetNuke. You can find it here.
Read More..
Tuesday, December 06, 2005
Intermodule Communication (IMC) Example in C#
By Richard Edwards @ 3:00 AM :: 2075 Views :: 7 Comments :: :: DotNetNuke, How-To
I just posted another example of Intermodule Communication for DotNetNuke. This one is a port of the original but in C# for all you bracket lovers :)  Thanks go out to Kevon Houghton who found the original VB code on this site and wanted to give something back.
Read More..
Wednesday, May 11, 2005
HOWTO: Using TabIndex to skip the DNN:Label tabstop in Firefox
By Richard Edwards @ 11:03 AM :: 948 Views :: 2 Comments :: :: DotNetNuke, How-To
One of the thing that has been causing me a little grief with the new DNN:Label control was that in FireFox, when a user is tabbing through the fields, it will stop at each label control help (?) instead of moving to the next input control. You may have noticed this yourself when logging in. Initially the focus is on the UserName help icon and not the username field and when you tab it moves to the password help icon and not the password field.

The workaround for this is to include a TabIndex="1" (or another sequential number if you want to provide other than default tabbing) for all your input controls and tabbing will conveniently skip the DNN Label control and behave in a more consistent manner across IE and Firefox.

Core team: It would be nice if you could change this in the Login dialog so I don't have to keep editing it manually Wink [;)]
Tuesday, April 26, 2005
DotNetNuke Intermodule Communication Example (IMC)
By Richard Edwards @ 8:03 AM :: 1490 Views :: 4 Comments :: :: DotNetNuke, How-To
I posted a quick example of how to implement Intermodule Communication using DotNetNuke 2 including source and private assembly. No registration required.
Wednesday, March 09, 2005
HOWTO: Accessing DNN Profile Data using T-SQL
By Richard Edwards @ 8:41 PM :: 6472 Views :: 11 Comments :: :: DotNetNuke, How-To

In the move to DotNetNuke 3.x, the core team has decided to support the new membership provider API that Microsoft is introducing in ASP 2.0. The new model brings enhanced functionality and extensibility to DotNetNuke, but it also removes much of the profile data from the Users table to a new table named aspnet_Profile. This has essentially removed access to this data from SQL queries and joins because it is no longer stored in individual fields like in DNN 2, but now resides in a blob type field instead. This article will show you how to get it back !

Read More..
Wednesday, December 15, 2004
Tip for Aggregator (Tabbed Modules)
By Richard Edwards @ 10:58 PM :: 669 Views :: 0 Comments :: :: DNNStuff, How-To, Aggregator

If you've been noticing that the modules you are placing inside the Aggregator module are getting cut off on the right side in IE, here's a little remedy.

When you choose the 'Auto Hide Titles' option, your module is rendered within the default 'notitle.ascx' 'no container.ascx' container located in the \portals\_default\containers\_default folder. Open up 'notitle.ascx' 'no container.ascx' in a text editor and you'll see that the table width is set to '100%'. When I changed mine to '99%', the right border of my content pane seemed to behave properly and not extend beyond the enclosing

, giving me a clean right border and showing my content pane style properly.

Wednesday, September 15, 2004
Upgrading to DotNetNuke 2.1.2
By Richard Edwards @ 8:12 AM :: 1139 Views :: 0 Comments :: :: DotNetNuke, How-To

Last night I decided to bite the bullet and upgrade to DotNetNuke 2.1.2. Everything went pretty smoothly so I decided I would share my approach. If you notice anything odd with the site, please let me know at support@dnnstuff.com

Read More..
Friday, June 11, 2004
HOWTO: Add A Menu Break To The Action Menu
By @ 8:28 AM :: 733 Views :: 0 Comments :: :: DotNetNuke, How-To

OK, so admittedly calling this one a “HOWTO” may be giving the snippet delusions of grandeur. At best, it's a tip -- at worst, it's something self-evident that everybody knows already :)

However, since I had to look it up I thought I might save at least one other person the trouble. To add a menu break (those little horizontal separator bars you see in regular Windows menus) to an Action menu, just do the following:

With MyBase.Actions
.Add(GetNextActionID, "~", "")
End With

Thursday, June 10, 2004
HOWTO: Handling Module Action Menu Events
By @ 2:16 PM :: 1502 Views :: 0 Comments :: :: DotNetNuke, How-To

A quick example of the trivial syntax for handling Action menu events in the same module in which they're raised, without having to dig through the core to figure out how.

Read More..
Copyright (c) 2005-2008 DNNStuff
*
Terms Of Use   Privacy Statement