login / 404 / etc

Permalink
Can anyone tell me how I can add my site banner to these pages so they look like they are part of my site?

cleverington
 
Tony replied on at Permalink Reply
Tony
make a file called site_theme_paths.php in /config/ and point to your theme like this (replace concrete5org with your theme handle):

<?php 
defined('C5_EXECUTE') or die(_("Access Denied."));
//$v = View::getInstance();
// you can override system layouts here  - but we're not going to by default */ 
$v->setThemeByPath('/login', "concrete5org");
$v->setThemeByPath('/register', "concrete5org");
$v->setThemeByPath('/page_not_found', "concrete5org");
$v->setThemeByPath('/maintenance_mode', "concrete5org");
cleverington replied on at Permalink Reply
cleverington
is there any reason that they don't just have an 'edit page' option like all the other pages in my site?
Tony replied on at Permalink Reply
Tony
it would be nice if you could do this via the cms though.
cleverington replied on at Permalink Reply
cleverington
One more question, I am using the default yoghurt theme so what should I put in place of concrete5?
Mnkras replied on at Permalink Reply
Mnkras
what ever the folder that holds the theme like:

plain yougert is default
Fernandos replied on at Permalink Reply
Fernandos
this is how you can make your 404 look alike. It can look as you want. There is no limithttp://fif-moebel.de/bla-bla-bla...
cleverington replied on at Permalink Reply
cleverington
I've obviously lost the lot somewhere because I can't seem to get anywhere near this stage even after following all the instructions.
Fernandos replied on at Permalink Reply
Fernandos
simply create this file "single_pages/page_not_found.php"

put anything you want into it..
then watch your custom 404 page ;)
easy eh?
AlbertPotato replied on at Permalink Reply
AlbertPotato
Remo has written a helpful blog post relating to this:

http://www.codeblog.ch/2010/01/concrete5-custom-404-page/...

Instead of redirecting to a site map, it has how to include one on /single_pages/page_not_found.php. Worked great for me.