Results 1 to 5 of 5
  1. #1
    Join Date
    May 2006
    Posts
    322
    Plugin Contributions
    0

    Default Disable right-click?

    I know it's been asked, I know it doesn't stop everyone, but I have a client who wants it and I found this thread:

    http://www.zen-cart.com/forum/showthread.php?t=74347

    and followed the instructions, but it didn't work. Any idea why?

    Thanks!

  2. #2
    Join Date
    Feb 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Disable right-click?

    It may have been for an outdated version, but the major idea is that you can prevent computer illiterate people from taking images but anyone who knows a thing or two about computers know that disabling right click is useless. But it is a small step in securing your stuff.

    You can open the header file (I think it is the header file, someone might know the exact name and where it is) - I don't remember exactly where this file is (if you are not familiar, go to view source from your browser and read the first line and find the file that has the exact first line excluding comments) file for zen cart and insert it before the <body> tag begins. If you are placing it within the <body> tags then it may not load up properly.

    Also this may edit the internal files and you should only use the override system when doing this.

  3. #3
    Join Date
    May 2006
    Posts
    322
    Plugin Contributions
    0

    Default Re: Disable right-click?

    Okay, I'm looking in the tpl_header.php file and there is no body tag. I'm not really sure where the body tag comes in. I am using an html includes for the header image, but it also has no body tag, it's just the image code. So, thanks for the help, but I can't find the body tag to put it above .

  4. #4
    Join Date
    Jan 2008
    Posts
    1,711
    Plugin Contributions
    7

    Default Re: Disable right-click?

    Quote Originally Posted by digidiva-kathy View Post
    Okay, I'm looking in the tpl_header.php file and there is no body tag. I'm not really sure where the body tag comes in. I am using an html includes for the header image, but it also has no body tag, it's just the image code. So, thanks for the help, but I can't find the body tag to put it above .
    If you have a script intended for the header and body sections of your site, this thread should be of some use.

  5. #5
    Join Date
    May 2006
    Posts
    322
    Plugin Contributions
    0

    Default Re: Disable right-click?

    Thank you, Steven :) . Strangely enough, following the instructions and putting the code into the jscript folder did not work, but putting it directly into the html_header.php file did.

 

 

Similar Threads

  1. right click disable possible?
    By knottybynature in forum General Questions
    Replies: 4
    Last Post: 7 Feb 2008, 09:47 PM
  2. Disable right-click?
    By winterstorm in forum General Questions
    Replies: 12
    Last Post: 3 Sep 2007, 03:32 AM
  3. How to disable right-click?
    By ghs215 in forum General Questions
    Replies: 5
    Last Post: 12 Jul 2007, 08:38 PM
  4. Right Click Disable
    By rxalex in forum Basic Configuration
    Replies: 3
    Last Post: 27 Jan 2007, 02:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •