[Drupal] 404 page didn't render other blocks.

after I modified the 404 page redirection in admin/settings/error-reporting , when I view a page which doesn't exist, that will correctly redirect to the node what I set, but some blocks disappear.

 

The reason is that On 404 Not Found error pages, Drupal will skip rendering of several pieces of your website for performance reasons.

 

Luckly, I found the result that some one have build a module to resolve this problem, here is the details about the module.

 

Name :404 Blocks

Link : http://drupal.org/project/blocks404

Description :

On 404 Not Found error pages, Drupal will skip rendering of several pieces of your website for performance reasons. Some of these include:

  1. The "Left" and "Right" regions of your theme.
  2. The "Primary links" block and any other menu links block.*
  3. The Primary links and Secondary links of your theme.*

* Unless you have configured a "Default 404 (not found) page" on admin/settings/error-reporting.

But many websites find those items invaluable. Especially on 404 pages, when they want to show lost users how to get to real pages.

So this module simply revives those features on 404 pages. Simply install and enable the module. No configuration needed.

posted @ 2010-08-27 16:53  DavidHHuan  阅读(309)  评论(0编辑  收藏  举报