Products

Solutions

Resources

Partners

Community

About

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 ForumsRepositoryRepositorySkin - Directory / Getting ride of JavascriptSkin - Directory / Getting ride of Javascript
Previous
 
Next
New Post
8/24/2007 4:21 AM
 

Hello,

I am using Repository 03.01.14 (and also 03.01.13 on another site), with the DIRECTORY skin (template).
I have plenty of users complaining: they can not manage to open the links. It does not open at all.
After investigation, it appears that some of them have blocked pop-up (and it is considered as a pop-up with this javascript). Others have Norton Internet Security which prevents people from opening pop-up. Vast majority of new browser have this behavior !

This is a very big problem for me. If you look to the repository for the files that I have on my website, I have plenty of download (~4000 for certain files in less than 2 months). For repository with links, very few clicks (and I know that this is a good page, it was used to be in the past with the old site).

CONCLUSION: this javascript is a very big problem for me currently, it blocks people from visiting website. I would like to find another solution. Please, do you have an idea to change this ?.... I am sure that it is the same problem for everybody, including Dotnetnuke Directory but people are maybe not aware of this being a problem...

 

DV
PS: Logged in Gemini.

 
New Post
11/1/2007 11:10 PM
 

I have just encountered this as well. Is there a workaround for this so that when the user selects the link it's not treated like a popup?


Icthus Technologies

Building Faith on the Internet
 
New Post
11/2/2007 12:17 AM
 

With the current repository module, the only workaround is for the users to allow popups from your site.  I believe every popup blocker, when it blocks a popup, gives the user the option to temporarily allow popups from the site they're visiting, or to always allow popups from the site. Once they allow popups from your site they will no longer have a problem

Another option is to use the template.xml file to change the link behavior to open in the same window and not try to open a new popup window

 
New Post
11/2/2007 12:34 AM
 

What would be the value for that, I can't find a reference in the xml files for DOWNLOAD that would allow me to specify a target.

This is also really problematic for large link directories as the page refreshes each time the link is selected causing the visitor to return to the top of the listing.


Icthus Technologies

Building Faith on the Internet
 
New Post
11/2/2007 7:10 AM
 

By default, links open in a new window. The Repository module accomplishes that by generating a javascript window.open() call.  You can override that behavior by adding a Target setting on the DOWNLOAD tag and setting it to SELF.

Add the code in BLUE to your template.xml file

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

That will cause links to open in the same window using a Redirect instead of a jaascript window.open() call.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorySkin - Directory / Getting ride of JavascriptSkin - Directory / Getting ride of Javascript


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