Changes between Version 4 and Version 5 of faq/drupal/sftp-permission-denied


Ignore:
Timestamp:
Aug 27, 2010, 9:55:21 AM (10 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/drupal/sftp-permission-denied

    v4 v5  
    77This restriction prevents you from editing the core Drupal code (if you could edit these files, your changes might be over-written with the next Drupal update).
    88
    9 Drupal has a system that allows you to make your own modification to your themes and modules directories without interfering with this core Drupal code. In your web directory, along with themes, modules, and others, there is a directory called sites. This directory is where you should put all of your customizations. The sites directory has a sub-directory called default (it may also have one called all). You can create a modules and themes directory in either default or all. Any module or theme you place in these directories will appear in your modules and themes admin pages just as if it was placed in your main modules or themes directory.
     9Here's a typical directory listing of a May First/People Link web directory:
     10
     11[[Image(drupal-web.jpg)]]
     12
     13You should not edit any of the files here. And the modules and themes (displayed in this picture as "links" which might display in your program as regular directories) should not be used either.
     14
     15Drupal has a system that allows you to make your own modification to your themes and modules directories without interfering with this core Drupal code. In your web directory, along with themes, modules, and others, there is a directory called sites.
     16
     17[[Image(drupal-web-sites.jpg)]]
     18
     19This directory is where you should put all of your customizations. The sites directory has a sub-directory called default (it may also have one called all). You can create a modules and themes directory in either default or all. Any module or theme you place in these directories will appear in your modules and themes admin pages just as if it was placed in your main modules or themes directory.
     20
     21[[Image(drupal-web-sites-all.jpg)]]
    1022
    1123When customizing your own theme, a common approach is to:
    1224
    13  * Copy a theme from the central theme directory
     25 * Copy a theme ''from'' the central theme directory
    1426 * Rename it after your site (so it doesn't conflict with the original them
    15  * Place it in your sites/default/themes directory
     27 * Place it in your sites/default/themes or sites/all/themes directory
    1628 * Switch your site to use your new theme
    1729 * Customize the theme to your liking