Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Default.aspxDefault.aspx
Previous
 
Next
New Post
9/27/2007 5:51 AM
 
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 11:48 AM
 

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
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
9/28/2007 4:10 AM
 
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 1:36 PM
 

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 2:56 PM
 

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?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Default.aspxDefault.aspx


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out