Last updated by loopduplicate on Wed, 2010年11月17日 03:27
Hi everyone. I use Drupal to develop http://burningtoken.com. It's chucked full of music mostly from Northern California. Here are my current notes regarding Drupal 6 Installation Best Practices. The notes are all jumbled. Sorry. They are exported from a FreeMind mind map. This has taken me forever to compile. It is a gift back to an open source project that has helped me out tremendously.
- Drupal Installation Best Practices
- Drupal Installation Best Practices
- Install and modify memory settings
- procedure
- install
- change /sites/default/settings.php
- change permissions
- add line
- ini_set('memory_limit', '96M');
- change permissions back
- add php.ini
- can be done through cpanel by using php config icon
- if above option is done, there will be a php.ini.default in the root directory of the server
- place the php.ini in the drupal install directory
- you may need to add this to the public_html folder if it is on a new domain
- edit php.ini
- upload_max_filesize = 50M
- post_max_size = 50M
- install
- procedure
- Set up cron
- add cron job in cpanel
- run every hour
- command is:
- wget -O - -q -t 1 http://www.[Your Web Site].com/[Drupal Installation Directory]/cron.php
- run cron
- add cron job in cpanel
- Set up theme
- downlowd zen Only local images are allowed.
- unpack into sites/all/themes/
- enable the theme
- sub Theme
- install zenophile module which creates the "Create Zen Theme" tab Only local images are allowed.
- click on the create zen subtheme tab on themes page
- create a new sub theme, duh
- downlowd zen Only local images are allowed.
- Get modules and configure them
- Common Modules
- enable search, path and upload
- admin menu Only local images are allowed.
- backup and migrate Only local images are allowed.
- set up and backup site
- create new profile
- check "lock tables during backup"
- check "take site offline"
- create new profile
- set up and backup site
- acl+content access
- block 404 (404 Blocks) Only local images are allowed.
- captcha Only local images are allowed.
- captcha pack Only local images are allowed.
- cck Only local images are allowed.
- ctools Only local images are allowed.
- emfield Only local images are allowed.
- token Only local images are allowed.
- filefield Only local images are allowed.
- filefield paths Only local images are allowed.
- file aliases Only local images are allowed.
- imageapi + image
- need to set the image upload directory
- create a directory tree in the drupal directory called uploads/image
- The sites/all/modules/image/image.imagemagick.inc file must be copied to includes in order for the ImageMagick image toolkit to function
- http://drupal.org/project/image Only local images are allowed.
- http://drupal.org/project/imageapi Only local images are allowed.
- need to set the image upload directory
- imagecache Only local images are allowed.
- imagefield Only local images are allowed.
- jquery
- need to download and install jquery from their website, just read the readme or install.txt in the jquery_ui module folder as it will tell you the version of jquery that you need.
- includes jquery ui and jquery update modules
- http://drupal.org/project/jquery_update Only local images are allowed.
- http://drupal.org/project/jquery_ui Only local images are allowed.
- nodereferenceExplorer Only local images are allowed.
- panels Only local images are allowed.
- pathauto Only local images are allowed.
- print Only local images are allowed.
- spamspan Only local images are allowed.
- submenutree Only local images are allowed.
- transliteration Only local images are allowed.
- xml site map Only local images are allowed.
- pathologic is a new module that will change paths when you move a drupal install Only local images are allowed.
- Better Formats Only local images are allowed.
- Global Redirect Only local images are allowed.
- Path Redirect Only local images are allowed.
- Focus Only local images are allowed.
- IMCE Only local images are allowed.
- IMCE mkdir Only local images are allowed.
- Other Cool Modules
- add to any Only local images are allowed.
- advanced help Only local images are allowed.
- comment notify Only local images are allowed.
- comment rss Only local images are allowed.
- Counter Only local images are allowed.
Counter module counts how many visitors on your website!
Features:
* Count Site Counter per day, minute even second!
* Count Unique Visitor
* Count Registered and Unregistered User
* Count Published and unpublised Node
* Display Web Server IP and Client IP
* Report: Client IP, Access Date, Access Page
* Initial values
* Visitor Statistic per day, week, month and year!
- feedback Only local images are allowed.
- views Only local images are allowed.
- Views Gallery Only local images are allowed.
- image browser Only local images are allowed.
- logintoboggin Only local images are allowed.
- pagetitle Only local images are allowed.
- image gallery management Only local images are allowed.
- taxonomy access control Only local images are allowed.
- amongo other things, can restrict access to image galleries because they use taxonomy
- image cycle Only local images are allowed.
- never got it to work - but didn't try very hard
- needs jquery cycle: http://malsup.com/jquery/cycle/download.html Only local images are allowed.
- imagefield crop Only local images are allowed.
- Lightbox2 Only local images are allowed.
- Multiple Image Upload Only local images are allowed.
- Drag and drop functionality - haven't tried it out yet
- requires Postlet
- Scanner - search and replace Only local images are allowed.
- Scheduler Only local images are allowed.
- contact forms Only local images are allowed.
- ImageCache Actions Only local images are allowed.
- Fbconnect Only local images are allowed.
- Fb social Only local images are allowed.
- Workflow Only local images are allowed.
- Css gzip Only local images are allowed.
- Module filter Only local images are allowed.
- organize modules page and improve its search function
- Node gallery Only local images are allowed.
- Sitedoc Only local images are allowed.
- Theme editor Only local images are allowed.
- Whizzywig Only local images are allowed.
- Menu firstchild Only local images are allowed.
- Token custom Only local images are allowed.
- Token filter Only local images are allowed.
- Textsize Only local images are allowed.
- Resizable body Only local images are allowed.
- Dashplayer Only local images are allowed.
- Node expire Only local images are allowed.
- File Aliases Only local images are allowed.
- File aliases Only local images are allowed.
- Path access Only local images are allowed.
- Dynamicfield Only local images are allowed.
- On the web Only local images are allowed.
- Css Only local images are allowed.
- Im raw Only local images are allowed.
- Dtools Only local images are allowed.
- Dfont Only local images are allowed.
- Fontyourface Only local images are allowed.
- Domain Only local images are allowed.
- Domain adv Only local images are allowed.
- Creativecommons Only local images are allowed.
- Content lock Only local images are allowed.
- Insert Only local images are allowed.
- Insert - Looks very cool!!!
- Menu css names Only local images are allowed.
- Drupalchat Only local images are allowed.
- Module builder Only local images are allowed.
- Hoverintent Only local images are allowed.
- Im Only local images are allowed.
- Instant Messenger
- Viewscarousel3d Only local images are allowed.
- Webform2pdf Only local images are allowed.
- Cutemenu Only local images are allowed.
- Activitystream youtube Only local images are allowed.
- Apachesolr Only local images are allowed.
- Author pane Only local images are allowed.
- Advanced forum Only local images are allowed.
- Privatemsg Only local images are allowed.
- Service links Only local images are allowed.
- Webform Only local images are allowed.
- Options element Only local images are allowed.
- Select or other Only local images are allowed.
- Date Only local images are allowed.
- Webform validation Only local images are allowed.
- Mollom Only local images are allowed.
- Nodewords Only local images are allowed.
- Forum access Only local images are allowed.
- Og Only local images are allowed.
- Organic Groups (allows users to administer their own groups of users)
- Boxes Only local images are allowed.
- Boxes - inline block editing
- Games
- Userpoints login Only local images are allowed.
Userpoints Login allows users to earn a specified number of points for each login. We also specify a minimum time interval between logins that must be exceeded for these points to be earned.
- Quiz Only local images are allowed.
- Javascript aggregator Only local images are allowed.
JavaScript aggregation was brought into core with Drupal 6, so the Drupal 6 version of this module goes one step further to minify that file.
- Linkchecker Only local images are allowed.
- Masquerade Only local images are allowed.
- Menus
- Image Menu Only local images are allowed.
- Menu block Only local images are allowed.
So... have you ever used the Primary and Secondary links feature on your theme and wondered "how the hell do I display any menu items deeper than that?"
Well, that’s what this module does. It provides configurable blocks of menu trees starting with any level of any menu. And more!
So if you’re only using your theme’s Primary links feature, you can add and configure a "Primary links (levels 2+)" block. That block would appear once you were on one of the Primary links’ pages and would show the menu tree for the 2nd level (and deeper) of your Primary links menu and would expand as you traversed down the tree. You can also limit the depth of the menu’s tree (e.g. "Primary links (levels 2-3)") and/or expand all the child sub-menus (e.g. "Primary links (expanded levels 2+)").
Pretty simple, eh?
(I’m actually shocked this module didn’t exist before.)
- Nice menus Only local images are allowed.
Nice Menus enables drop-down/right/left expandable menus. It uses only CSS for most browsers, with minimal Javascript for IE6. (Version 2 uses the Superfish jQuery plugin for all browsers, with an option to disable JS, and falls back to CSS-only for browsers that can handle it.)
Three styles/types of menus are currently possible: horizontal, menus drop down; vertical, menus fly to the left; vertical, menus fly to the right. There is a handbook page that provides a list of sites that use Nice menus.
Nice Menus creates blocks that may be associated with any existing site menu which can be placed wherever normal blocks can be placed in a theme. For themers, it is also possible to theme a menu as a Nice Menu directly by using the provided theme functions so a block is not necessary. A specific theme function for the Primary Links menu is available. The theme functions also allow a developer to pass in a custom menu tree of their making (i.e. not using a Drupal menu.) There is more information on how to use theme functions in the documentation.
The module comes with a simple, generic color scheme which can be fully overridden either by adding the override CSS to the theme's normal stylesheet or by creating a Nice Menus CSS file and telling Nice Menus to use that rather than its own default one through the global theme configuration. Several CSS override examples are provided in the included README.txt file and in the handbook.
If you are having problems with Nice Menus, make sure you read the FAQ and search the issue queue to see if others have already addressed them.
- Paging Only local images are allowed.
Description
Break long pages into smaller ones automatically by words(or characters) limit, or by means of a customizable pagination tag:
First page here.
<!--pagebreak-->
Second page here.
<!--pagebreak-->
More pages here.
- Pagination Only local images are allowed.
Pagination (Node) allows the main content of arbitrary node types (Page, Story, etc...) to be paginated according to one of three methods:
Method 1: Content is paginated by a selectable "words per page" count.
Method 2: Content is paginated by manual breaks, inserted by the content creator.
Method 3: Content is paginated by manual breaks, based on <h3> tags.
- Profile Tools
- Advanced profile Only local images are allowed.
- Content profile Only local images are allowed.
- Content Profile - builds profiles as nodes (so you can use regular modules in profiles.)
- Securepages Only local images are allowed.
A small process which will redirect the required pages to a SSL version of the page
- redirects to https no matter what
- Slideshows
- CCK fields
- Link Field Only local images are allowed.
- Calendar Only local images are allowed.
- This module will display any Views date field in calendar formats, including CCK date fields,
- Rounded Corners Only local images are allowed.
- Search Config Only local images are allowed.
- SWF Tools Only local images are allowed.
- install help Only local images are allowed.
- SWF Object 2 embed method Only local images are allowed.
- easy method to embed 3rd party tools
- Flow Player 3 Only local images are allowed.
- complicated, needs to be maintained, but fully customizable
- plugins Only local images are allowed.
- Remeber: It's best to avoid Flash! You have been warned.
- Textimage Only local images are allowed.
- WYSIWYG Only local images are allowed.
- Install WYSIWYG
- Then put fckeditor into sites/all/libraries
- fckeditor Only local images are allowed.
- link 2 download fckeditor Only local images are allowed.
- if not using WYSIWYG, read the readme.txt in the FCKEditor folder
- fckeditor Only local images are allowed.
- Imce wysiwyg Only local images are allowed.
- Common Modules
- Install and modify memory settings
- Drupal Installation Best Practices