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  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  How do I do a relative link to default.aspx from my skins' ascx code??
Previous Previous
 
Next Next
New Post 1/23/2008 6:47 AM
Unresolved
User is offline tlyczko
116 posts
www.mountainlakeservices.org
9th Ranked


How do I do a relative link to default.aspx from my skins' ascx code?? 
Modified By tlyczko  on 1/23/2008 10:47:44 AM)

I want more than one clickable logo image in my skin, I have the logo token all set up.

What is the correct a href reference to the top-level Default.aspx from my skin, in Portals/0 etc.

Meanwhile I will keep experimenting with ../../ etc.

Thank you, Tom

 
New Post 1/23/2008 6:53 AM
User is offline Will Strohl
1331 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: How do I do a relative link to default.aspx from my skins' ascx code?? 

Wouldn't this work?

<a href="/Default.aspx"><img src="somepic.gif" /></a>

Will LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 1/23/2008 8:13 AM
User is offline tlyczko
116 posts
www.mountainlakeservices.org
9th Ranked


Re: How do I do a relative link to default.aspx from my skins' ascx code?? 

Tried that, it did not work, will try again someday...

Thank you, Tom

 
New Post 1/23/2008 8:47 AM
User is offline Will Strohl
1331 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: How do I do a relative link to default.aspx from my skins' ascx code?? 

And this?

<a href="~/Default.aspx"><img src="somepic.gif" /></a>

Will LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 1/23/2008 8:59 AM
User is offline ChanceUSC
4 posts
10th Ranked


Re: How do I do a relative link to default.aspx from my skins' ascx code?? 

If DNN doesn't create root directories then <a href="~/Default.aspx" should work. That is essentially saying ROOT/Default.aspx

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  How do I do a relative link to default.aspx from my skins' ascx code??
 


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.

 


DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com
Digicon: DotNetNuke design and development
Digicon is based in Brisbane, Queensland, Australia
digicon.com.au

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