Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryDirectory Skin - Link Open In New Window?Directory Skin - Link Open In New Window?
Previous
 
Next
New Post
2/14/2006 5:56 PM
 
Is the template.html file you're refering to found in the DNN directory?  But I can't believe the "target=blank" option is not built into DNN when your creating a page that links to an external site.
 
New Post
2/15/2006 11:00 AM
 

All of the various templating files are in the DesktopModules/Repository/Templates/ folder. There are like 8 of them, and the one you would want to change is the one you are using for your Repository. Check in the settings if you aren't sure what template you are using.

Hope that helps,

Gary



Gary
 
New Post
2/18/2006 10:04 AM
 

To have links open in a new window add the following Setting to the DOWNLOAD tag in the template.xml file for the skin you're using

 <Object>
  <Token>[DOWNLOAD]</Token>
  <Settings>
   <Setting>
    <Name>Target</Name>
    <Value>NEW</Value>
   </Setting>
  </Settings>
 </Object>


 
New Post
7/1/2006 6:15 PM
 

I am using the "Directory' skin. I had changed the template.xml to allow for the link to open in a new window using the above and it worked perfectly.

I then changed the template.xml back to open in the same window and no matter what I seem to do it continues to open in a new window.

I've installed the lastest 3.1.10 and the download setting of the template.xml is;

 <Object>
  <Token>[DOWNLOAD]</Token>
  <Settings>
   <Setting>
    <Name>CssClass</Name>
    <Value>normal</Value>
   </Setting>
  </Settings>
 </Object>

Any idea as to why it continues to open a new window?

Thanks, Pat

 
New Post
7/11/2006 6:22 PM
 

I know everyone is slammed, but wanted to take another shot at this.

No matter what I do the Link will open in a new window. I have the above setting (previous post) in template.xml (not the code that is provided for opening in New window) and it still opens in a new window.

The problem is that in testing most Pop up blocking tools do not allow the new window to display so the user is left with the page refreshing.

Insight is appreciated.

Pat

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryDirectory Skin - Link Open In New Window?Directory Skin - Link Open In New Window?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out