Archive for September 15th, 2008

DotNetNuke Modules – Finding The Page a Module is On

land-0127 Last week we talked a bit about Inter Module Communication, the ability of one module to notify another module on the page that something needs to happen without requiring a post back.  The other need you may have is something I refer to as Cross Page Communication.  This is not a dotnetnuke term, I just made it up today.

Here’s the problem.  In some cases, you may have a module that you’ve placed on a page that should only ever be on one page.  In my case, this was the checkout module.  I needed some way of retrieving the page that that module was on so that I could create a hyperlink to that page from my modules that displayed my products and my “mini cart” module that displayed a summary of items in the shopping cart.

Here’s how I did it:

Read the rest of this entry »