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  |  

AspDotNetStoreFront
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

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.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Default.aspx
Previous Previous
 
Next Next
New Post 10/6/2007 5:42 AM
User is offline Filipe
10 posts
10th Ranked


Re: Default.aspx 

Thanks for your promptly response.

I don’t want to replace the default Register control. I just wont to access a new control with the same type of link, without a module Id (I will use the link in emails to register pre-invited users).

For that I don’t want to add the control to a page because the link above will depend on the site installed…

I’ve managed to distribute other modules and a common PA with a standard DNN assembly install definition file but, then I add this particular control directly in the ModuleControls table (using a unique Controlkey and a null ModuleDefID). Something like:

/** Unregister Control **/

if exists (select * from {objectQualifier}ModuleControls where ModuleDefID is NULL and ControlKey = 'RegisterInvited')
delete from {objectQualifier}ModuleControls where ModuleDefID is NULL and ControlKey = 'RegisterInvited'
GO

/** Register Control **/

insert into {objectQualifier}ModuleControls (
ControlKey,
ControlTitle,
ControlSrc,
ControlType
)
values (
'RegisterInvited',
'Register Invited',
'DesktopModules/MemberInvite/RegisterInvited.ascx',
-1
)

GO

 
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.

 


ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au

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