OK thanks. I used Google translator (I don't read German) and basically it turns your 404 page into a page with a sitemap. Pretty cool.
Here's what a 404 page on my site looks like now, and I'm going to customize it a bit more, but the sitemap stuff is great!
http://dibbvids.com/asdfjkl
So, basically, edit "/concrete/single_pages/page_not_found.php" and insert the following block of text right before the last line:
<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->orderBy = 'display_asc';
$bt->controller->displayPages = 'top';
$bt->controller->displaySubPages = 'all';
$bt->controller->displaySubPageLevels = 'all';
$bt->render('view');
?>
Here's what a 404 page on my site looks like now, and I'm going to customize it a bit more, but the sitemap stuff is great!
http://dibbvids.com/asdfjkl
So, basically, edit "/concrete/single_pages/page_not_found.php" and insert the following block of text right before the last line:
<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->orderBy = 'display_asc';
$bt->controller->displayPages = 'top';
$bt->controller->displaySubPages = 'all';
$bt->controller->displaySubPageLevels = 'all';
$bt->render('view');
?>
I wrote most of my stuff in English and German!
http://www.codeblog.ch/2010/01/concrete5-custom-404-page/...
http://www.codeblog.ch/de/2010/01/concrete5-custom-404-page/...
http://www.codeblog.ch/2010/01/concrete5-custom-404-page/...
http://www.codeblog.ch/de/2010/01/concrete5-custom-404-page/...
Oh dude, I didn't even notice the German/English flag up in the corner, now I do!
Thanks a lot, great procedure man.
Thanks a lot, great procedure man.
I planned to redesign my blog, including a new language switch... But as always, time is limited..
http://www.codeblog.ch/de/2010/01/concrete5-custom-404-page/...
..it describes how you can use your own theme for this page..
..to edit the page just go to the dashboard und set the "show system pages" checkbox in the sitemap and you will find "Page Not found", "Page Forbidden", "Login" etc.
..you can also edit the single page
/concrete/single_pages/page_not_found.php (http://www.concrete5.org/community/forums/customizing_c5/404_page_page_not_found/)