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  |  

Maximum ASP
  Ads  
r2i.ntegrated
 


  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.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Old relative path question for ssl
Previous Previous
 
Next Next
New Post 7/26/2007 1:44 PM
User is offline steve conard
95 posts
10th Ranked


Old relative path question for ssl 

I have a secure dnn portal with many child portals.  If I offer a link in my custom module to open a new browser window, the call fails over to the root portal instead of the page I called.  viewHelp.aspx is in the custom module directory.
I use:

strRelPath = Me.ResolveUrl("viewHelp.aspx")

In a literal:

 strLitLaunchHelp = "<script language=""javascript"">" & vbCrLf
            strLitLaunchHelp = strLitLaunchHelp & "function launchHelp(){" & vbCrLf
            strLitLaunchHelp = strLitLaunchHelp & " var strBar = 'directories=no,location=no,menubar=no,titlebar=no,toolbar=no,scrollbars=yes,width=800,height=600,resizable=yes';" & vbCrLf
            strLitLaunchHelp = strLitLaunchHelp & " var strLoc = '" & strRelPath & "';" & vbCrLf
            strLitLaunchHelp = strLitLaunchHelp & " var winEdit = open(strLoc,'Help',strBar);}" & vbCrLf
            strLitLaunchHelp = strLitLaunchHelp & "</script>" & vbCrLf & vbCrLf

Seems like the long way and it still does not work unless the user clicks on the link a second time.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Old relative path question for ssl
 


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.

 


T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com
AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com

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