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  |  

telerik -- supercharge your DNN websites
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  creating custom tags
Previous Previous
 
Next Next
New Post 4/2/2006 2:09 AM
User is offline Bernd Rößl
1 posts
10th Ranked


creating custom tags 
hey everybody,

how do i create a custom tag? i like to create a custom tag, lets call it "REGCUSTOMER" and use it in my skin like all other tags.
currently i have a working tag, but i'm not able to implement some inteligence behind it.

in my skin i have the deklaration

<%@ Register TagPrefix="dnn" TagName="REGCUSTOMER" Src="~/DesktopModules/GMC/regCustomer.ascx" %>

the code behind regCustomer.ascx works fine, except the calls to NavigateURL("RegisterCustomer"). The url which is created by dnn for this tag points to nirvana. how do i reference to my RegisterCustomer.ascx (not regCustomer.ascx) without to touch the core code? or is this a crazy idea ?

i hope my description is not as confusing.

kind regards, bernd

 
New Post 4/3/2006 8:56 AM
User is offline Jeff Martin
61 posts
www.jeffmartin.com
10th Ranked


Re: creating custom tags 

Well i think it is a bit confusing...

lets break this down.

You want to create a Skin Control that points to another page within your DNN setup? It appears you already have the skin control working.

Next you want to have a Custom Call to NavigateURL where you are giving it just the name and have it create a link to ?some other control within your site?

Off the top of my head I don't recall how to do just the Keyword call for NavigateURL.  But I think what you want can be done through the SiteUrls.config - which is in the root of your DNN installation.   Edit that file have RegisterCustomer.aspx point to the tab you want and your skin control can navigate to that URL.

Hopefully my help was less confusing than your question.


Jeff Martin
MCSD C#
My Site
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  creating custom tags
 


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.

 


Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com
SSL Enabled and Amazingly FAST...
SSL enable your DNN web site with SSLRedirect, compress your DNN web site HTTP data flow by up to 75%-90% with HttpCompressionAgent, and monitor your DNN web site's performance with WebKeepAlive...
www.sanibellogic.com
Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net

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