/[drupal]/contributions/modules/customerror/INSTALL.txt
ViewVC logotype

Contents of /contributions/modules/customerror/INSTALL.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Wed May 21 23:29:37 2008 UTC (18 months ago) by kbahey
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
Changes since 1.4: +2 -2 lines
File MIME type: text/plain
#244801 by coltrane, port to 6.x
1 $Id: INSTALL.txt,v 1.4 2005/11/21 15:18:56 kbahey Exp $
2
3 Requirements:
4 -------------
5 This module requires drupal 6.x or greater.
6
7 Installation:
8 -------------
9 1. Copy the customerror.module to the Drupal modules/ directory.
10
11 2. Patching Drupal core for proper redirection
12
13 This step is required if you want an unlogged user to be redirected
14 to the page they are trying to access after they login.
15
16 Copy the patches/common.inc file that corresponds to your Drupal
17 version to includes/common.inc.
18
19 For example, if you are running 4.6.3, then copy common.inc.4.6.3
20 to includes/common.inc
21
22 3. Go to administer->modules
23 - Enable the customerror module, click on Save
24
25 4. Configure the module:
26 - Go to administer->settings->customerror
27 - Enter any title and description you want for the 404 (not found)
28 and 403 (access denied) pages.
29 - You can use any HTML tags to format the text.
30
31 5. Enable the customerror pages.
32 Go to administer->settings
33 - Set "Default 403 (access denied) page:" to "customerror/403" (without
34 the quotes).
35 - Set "Default 404 (not found) page:" to "customerror/404" (without
36 the quotes).
37 - Click Save
38
39 6. Test your error pages.
40 - Copy your present admin page url.
41 - Try to go to a non-existent Drupal page on your site.
42 You should see your custom error page for 404 (not found) page.
43
44 - Log out from your site.
45 - Paste the admin page url and try to go there.
46 You should see your custom error page for 403 (access denied) page.

  ViewVC Help
Powered by ViewVC 1.1.2