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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...no right clickno right click
Previous
 
Next
New Post
4/26/2006 2:02 PM
 

Hello

Can anybody please tell me where and how I can insert a "no right click" and no "save as" to prevent people from taking images by (save as) downloading pages containing the images?

However, in the meantime, can anybody help me with another matter, as yet I am still awaiting a reply from a previous post, I apologise if anybody has answered me and post not yet displayed.

I need to know the correct URL path to inset site prior to uploading files to a remote server

I know that when DotNetNuke is installed on a local PC I change the DotNetNuke.sln and DotNetNuke.vbproj.webinfo URL to read:

The local URL:  "http://localhost/mysite/DotNetNuke.vbproj

I am unsure of the correct URL path for a remote installation:

1.  "www.mysite.com/DotNetNuke.vbproj"

or

2.  "http://www.mysite.com/DotNetNuke.vbproj"

Or

3. "http://localhost/mysite.com/DotNetNuke.vbproj

 

Thanks in advance.

 

Laura

 

 
New Post
4/26/2006 2:23 PM
 

Hey newgirl,

Not sure about the 2nd half of your question, but I believe what you are trying to accomplish with the disabling of the right-click menu can be produced with a JS script. I'll see if I can find a link for you, but you should be able to Google it pretty easy.

 

SB


Wells Doty Jr
Online Content Development
 
New Post
4/27/2006 2:07 PM
 

Not sure if this is what you are looking for but here is a  code to disable right click

It is between [ and ]

[<SCRIPT language=JavaScript>
  <!--//Disable right click script III- By Renigade (renigade@mediaone.net)
  //For full source code, visit http://www.dynamicdrive.com var message="";
  ///////////////////////////////////
  function clickIE() {if (document.all) {(message);return false;}}
  function clickNS(e) {if
  (document.layers||(document.getElementById&&!document.all)) {
  if (e.which==2||e.which==3) {(message);return false;}}}
  if (document.layers)
  {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
  else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
  document.oncontextmenu=new Function("return false")// -->
  </SCRIPT> ]

 
New Post
4/27/2006 3:54 PM
 

Hi  Jenn15b

Thanks for the reply and the code, where do I place it?

I can't insert it into the head of the skin?

Can I put it in a folder/file inside my skin folder and link to it from within the skin?

Thanks

Laura

 
New Post
4/27/2006 6:15 PM
 

I am not a  web site guru, so I am not sure if there is a right or wrong place.  But the way I do mine is by copy & paste into a HTML on the page.  I have to put the code on every page though which can be annoying but it serves its purpose.

 

Jenn

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...no right clickno right click


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