Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Default.aspx
Previous Previous
 
Next Next
New Post 9/27/2007 3:51 AM
User is offline JiGong
32 posts
Thatz.com
10th Ranked


Default.aspx 
Hi all,

I notice that in the verification email (sent during registration), there is a http link like this:

http://localhost/mywebsite/default.aspx?ctl=Login&username=johndoe&verificationcode=0-31

The default.aspx will redirect to the control based on what is specified in the ctl. For example, if ctl=Login, it will redirect to login page.

So, do you think we can create our own control and ask default.aspx to redirect to the control by specifying the control name in the URL parameter?

 
New Post 9/27/2007 9:48 AM
User is offline Brian Dukes
477 posts
www.engagesoftware.com
8th Ranked


Re: Default.aspx 

Typically you will only use the ControlKey in the query string for your own modules, and so will have to specify a ModuleId in addition to the ControlKey (/ctl/Edit/mid/2434/Default.aspx).  Those control keys are set up in the Module Definitions.  If you want a global control key, like Login, I don't believe that there is an interface to do that, but you can certainly add an entry in the ModuleControls table, mimicking a global ControlKey like Login, and create your own.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 9/28/2007 2:10 AM
User is offline JiGong
32 posts
Thatz.com
10th Ranked


Re: Default.aspx 
 dukesb11 wrote

Typically you will only use the ControlKey in the query string for your own modules, and so will have to specify a ModuleId in addition to the ControlKey (/ctl/Edit/mid/2434/Default.aspx).  Those control keys are set up in the Module Definitions.  If you want a global control key, like Login, I don't believe that there is an interface to do that, but you can certainly add an entry in the ModuleControls table, mimicking a global ControlKey like Login, and create your own.

Hope it helps,



Hi duke,

Thanks for the reply. Do i need to add the entry manually to the modulecontrols table or i can do it in Module Definitions?

Does anyone else have any other idea? Or we are not supposed to use default.aspx to do this?

 
New Post 10/3/2007 11:36 AM
User is offline Filipe
10 posts
10th Ranked


Re: Default.aspx 

I'm creating an alternative control for user registration. I don’t need to replace the default control (accessed with http://localhost/default.aspx?ctl=Register) but I need to access the page with a link that does not depends on the moduleid or pageid; I need something like a global control key.

My approach was to use a ControlKey in the ModuleControls table and use a link like http://localhost/default.aspx?ctl=myRegister but I found out that this will only work if the control is not associated with a module (ModuleControl. ModuleDefID = NULL).

I don’t know how to add a control not associated with a module using the DNN assembly install definition file…

Can you please help me? Is any other way to get this working?

 
New Post 10/4/2007 12:56 PM
User is offline Hooligannes
1589 posts
www.nesinteractivos.com
5th Ranked






Re: Default.aspx 

It's best that you start a new post instead of jumping on another thread. It has more visibility when done that way.

The register key is hardcoded, to use a different registration form:

  1. Create an independent module
  2. Install it as a PA
  3. Place it on a page
  4. Set the page as the registration page for the portal through Site Settings (Admin menu)

Do you know the truth when you hear it?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Default.aspx
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP