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 ForumsRepositoryRepositorySummary of actual problems with RepositorySummary of actual problems with Repository
Previous
 
Next
New Post
9/3/2007 10:39 AM
 

A "Huge" Thank you, Steve.

I will test it on my web.

 
New Post
9/3/2007 10:53 AM
 

robax wrote

Kudos on fixing up those things Steve!

I'm also no developer, but I did have a good dig around looking for methods of opening windows to get past popup blockers and the basics are simply that window.open javascripts will get blocked no matter how they are created as that is the method that advertising popups use.

However, given that the user is voluntarily clicking on a link rather than triggering an automated popup, the way to do it will require rendering the link as html, presumably using asp:hyperlink. It really isn't a popup at all, but just a click on a link with target=blank or elsewhere.

I can of course also understand if it's not a simple task to implement that in the Repository code, because for all I know it might require fundamental changes to the way it handles the various types of content. Just letting you know I had a look as best I was able.

Rob

 

Thanks for the feedback Robax, I hope that it may help Steve.
For information, I have also tested something else: in one page, I have put a simple HTML link with target=_blank
It opens a new window. Then, I have asked some people complaining about the Repository to test this link: everybody manage to open the link, even people with Norton Internet Security or other pop-up killer. Consequently, I think that the main problem concern the way the Repository handles the link. Probably to better track link click, which is essential in the repository, but we must find another solution...

 

DV

 
New Post
9/3/2007 10:54 AM
 

After one day of full test by admin people, here is the only remaining "problem" (a very small one):
- when people click on a permalink, if you want to re-select ALL the categories, you can not do so. When selecting ALL, nothing happen.

If it can be corrected in a future release, it would be great. But no urgency, for me the link window.open is more problematic. See above my answer.

 

DV

 
New Post
9/3/2007 11:44 AM
 

Rob,
Thanks. I am aware of the html solution, and if the repository was just rendering links that would work. The issue that I am faced with is counting the clicks. When a user clicks on a hyperlink, I need to send the click back to the server so it can be recorded. That's the only way I know of to maintain the number of times each link was clicked on. It requires server-side code to increment the click count and store it in the database. Once control is on the server, the only way to continue the process and have a new window open is with javascript. I know of no other way. That is the real dilema here for me. When control remains on the client, ie: the use clicks on a hyperlink and a new window is opened, popup blockers will allow that because it was directly initiated by a user action. However once I introduce a server process ( storing the fact that the link was clicked ) the server has to initiate the process and therfore the popup blockers will block the window.

I looked at the core Links module, and if you set the module settings to open in a new window, I think you'll see the same behavior because the Links module also counts clicks.

Anyways, thanks for the suggestion, but I'm still not aware of a solution. If anyone out there can help, that would be great.

 
New Post
9/5/2007 12:02 AM
 

ah of course the clicks. I didnt' think of that.

ok.. again, not being a developer I'm just making this up... I saw some asp:hyperlink examples that included in their rendering some javascript for various popup-related things. Could you use that idea to do this: Render the link as plain html using asp:hyperlink with target="_blank" specified, but add an onclick javascript event to it that then additionally does the postback, just for the purpose of logging the click.

So the javascript doesn't actually launch the link, it just logs the click.

It would end up as <a href="domain.com" target="_blank" onclick="do the postback" ....

Mind you, for all I know the onclick might fully override the rest of the link. Maybe onMousedown would do it better/different?

Rob

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorySummary of actual problems with RepositorySummary of actual problems with Repository


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