drupal

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

URL rewrite (Clean URLs)

# enable path module (Allows users to rename URLs)
Administer > Site building > Modules
/admin/build/modules
check "Path"

# This option makes Drupal emit "clean" URLs (i.e. without ?q= in the URL).
Home > Administer > Site configuration > Clean URLs
admin/settings/clean-urls
Clean URLs: Enabled

Enable Cache

/admin/settings/performance
Seitencache
Caching-Modus: Normal
 
Block-Cache
Block-Cache: Aktiviert (empfohlen)
[Save]

Add extra language to Drupal

# download and extract german language pack
http://drupal-de.googlecode.com/files/de.po.zip
 
# enable locale module
Administer > Site building >Modules
admin/build/modules
check: Locale
 
# install german language
Administer > Site building > Translate interface > Import
admin/build/translate/import
Language file: de.po/de.po
Import into: German 
[Import]
 
# set german to default language
Administer > Site configuration > Languages
admin/settings/language
German: Default
 
 
# Links
http://drupal.org/project/de

Shadowbox

Shadowbox (Drupal Module)
http://drupal.org/project/shadowbox
download
http://ftp.drupal.org/files/projects/shadowbox-6.x-4.2.tar.gz
extract
copy to /sites/all/modules

shadowbox.js (JavaScript module)
http://www.shadowbox-js.com/download.html
check: "Images" and "Flash video (flv files)"
download
extract
create directory: /sites/all/plugins
rename shadowbox-build-XXX to shadowbox
copy shadowbox to /sites/all/plugins/

enable module
/admin/build/modules
check: Shadowbox

enable gallery slideshow

Ddblock

# jQuery Update Homepage
http://drupal.org/project/jquery_update

# download
http://ftp.drupal.org/files/projects/jquery_update-6.x-2.x-dev.tar.gz
extract
copy to /sites/all/modules

# enable
/admin/build/modules
check: jQuery Update

# Dynamic display block Homepage
http://drupal.org/project/ddblock

Download
http://ftp.drupal.org/files/projects/ddblock-6.x-1.x-dev.tar.gz
#old# http://ftp.drupal.org/files/projects/ddblock-6.x-1.0-rc6.tar.gz
extract
copy to /sites/all/modules

# enable
/admin/build/modules
enable: Dynamic display block

# set permissions

Create Webform in Drupal

# project page
http://drupal.org/project/webform
 
# download
# old # http://ftp.drupal.org/files/projects/webform-6.x-2.8.tar.gz
http://ftp.drupal.org/files/projects/webform-6.x-2.9.tar.gz
extract
copy webform to /sites/all/modules
 
# enable module
Administer > Modules
/admin/build/modules
check: Webform
 
# (optional, disable display post information)
Site building > Themes > Configure
/admin/build/themes/settings
checkout: Webform
 
 
# Site configuration > Languages
# admin/settings/language
 
# Translate interface
# /admin/build/translate/search
 
 
# String contains: 

Install Drupal SMTP authentication support module

# install SMTP Authentication Support
http://drupal.org/project/smtp
 
download
http://ftp.drupal.org/files/projects/smtp-6.x-1.0-beta4.tar.gz
extract
copy smtp /var/www/sites/all/modules
 
# install PHPMailer
#http://phpmailer.worxware.com/
#http://sourceforge.net/projects/phpmailer/files/phpmailer%20for%20php5_6/
 
download phpMailer v2.3 (NOT 5.x)
http://downloads.sourceforge.net/phpmailer/phpMailer_v2.3.tar.gz
extract
rename phpMailer_v2.3 to phpmailer (LOWERCASE!)
copy phpMailer/ /sites/all/modules/smtp/
 
 
# Configure
# Enable the SMTP Authentication Support module 
Admi

Drupal

Drupal
API reference - Drupal 6.0 API

Re-enable comment in on existing pages
UPDATE node SET comment = 2 WHERE type IN ('page', 'geshinode')

e-commerce suite
http://drupal.org/project/ubercart

Best Drupal modules
http://drupal.org/project/google_plusone - Google Plus One +1
http://drupal.org/project/xmlsitemap - XML sitemap
http://drupal.org/project/page_title - Page Title

HowTo update modules
install:
cumulus
download http://ftp.drupal.org/files/projects/cumulus-6.x-1.3.tar.gz
extract
upload to /modules/
download cumulus.js (JS script needed by Cumulus, save under modules/cumulus)
upload to /modules/cumulus
configure:
admin/build/block/configure/cumulus/
Highlight color of cumulus: 000000

Drupal redirect after logout
A simpler solution is just to add the query string ?destination=MY-PATH to your logout link.

WP-Cumulus (3D Tag viewer)
http://wordpress.org/extend/plugins/wp-cumulus/
http://drupal.org/project/cumulus - Cumulus allows you to display your site's tags using Flash that rotates them beautifully in 3D
http://drupal.org/project/tagadelic - Tagadelic is a small module that generates a page with weighted tags. (needed by Cumulus)

View a block only on start page

404 redirection in drupal with all blocks
YOUR_SERVER/admin/settings/error-reporting
Default 404 (not found) page: Home
http://drupal.org/project/blocks404

Links
http://drupal.org/node/15365 - Clean URLs
/admin/reports/status - Status report

Settings file
sites/default/settings.php

enable default drupal statistics
/admin/reports/settings

Reset Drupal 6 admin password
UPDATE users SET pass = MD5('terceS') WHERE uid=1;

Reset nodes read count
UPDATE node_counter SET totalcount = '0'

Syndicate content