By continuing your navigation on this site, you accept the use of cookies to offer you contents and adapted services. Legal Notice.
 
 
 
Sentence to think about :   GuppY ? There is there is less good but it is more expensive !   
 
You are here :   Home » Rights (Chmod)
 
Preview  Print...  Print this page...
Preview  Print...  Print this section...

Introduction

Technique

Photos

Modal window

You have at your disposal a jQuery script to display modal windows like the one you are reading.
The implementation is simple :
  • write the link :
    <a class="gypoplight" href="#?w=560&amp;rel=popup1&amp;btn=Close&amp;msk=msk=skins/skin5_guppy2015/">The link text</a>
    w=500 indicates the width of the window
    rel=popup1 popup1 is the name of the id of the div container
    btn=Close contains the text of the tooltips button closure

    msk=msk=skins/skin5_02/ indicates the skin directory for the button image
     
  • write the content in a layer with the appropriate classes :
    <div class="gypopup_block" id="popup1">  .... The content to display ... </div>
You can include any type of content, text and images.
gylogo.png

News of Friends

Visits

 186758 visitors

 55 visitors online

Calendar

Rights (Chmod)

rss This article is available in the standard RSS format for publication on your website :
/data/en-articles.xml

The most usual rule consists in chmoding the directories to 755 and files to 644.
More and more hosters will assign rights automatically.

These values are accurate in many cases, but have to be adapted according to the security policy of each hoster..

ATTENTION: You are to refer to your hoster's documentation in this respect.
 

For instance:

Folder and sub-folders data 777
Files data/* 666

Note :  /* means that all files of the directory must be chmoded as indicated.
Example :
Files data/* : rights = 666. UNIX command = chmod 666
                  data/* means all files in data directorymust e chmoded in en 666


How do you know that you must apply these "CHMOD" ?

When you get loads of error messages like the following, then you have to chmod::

     Warning: fopen("data/logh.dtb","w") - Permission denied in http://www.mysite.com/inc/functions.php on line xxx depending on the version.

     Warning: Supplied argument is not a valid File-Handle resource in http://www.mysite.com/inc/ functions.php on line xxx depending on the version.

     Warning: fopen("../data/logh.dtb", "w") - Read-only file system in functions.php on line xxx depending on the version.

     Warning: fputs(): supplied argument is not a valid File-Handle resource in functions.php on line xxx depending on the version.


Creation date : 26/04/2017 17:24
Category : - GuppY
Page read 10972 times

Reactions to this article


Nobody gave a comment yet.
Be the first to do so!

You are here :   Home » Rights (Chmod)
 
Preview  Print...  Print this page...
Preview  Print...  Print this section...

Preferences


Connect again :
Your user name :
Your password
<O>


  Count of members 0 member
Connected :
(nobody)
Snif !!!

Newsletter

To receive news about this website, consider subscribing to our Newsletter.

Before submitting this form, please read and accept the Legal Notices.

I agree :
copy the code :
Subscriber
(nobody)
Snif !!!