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  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


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.

 


Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting
Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com

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